2020-11-25 06:39:52 +08:00
|
|
|
version: '4.9.1-SNAPSHOT+AppVeyor.{build}'
|
2017-10-29 05:45:34 +08:00
|
|
|
cache:
|
|
|
|
- '%USERPROFILE%\.m2'
|
|
|
|
- '%USERPROFILE%\.nuget\packages -> **\project.json'
|
2020-11-25 06:39:52 +08:00
|
|
|
image: Visual Studio 2017
|
2017-10-25 15:07:23 +08:00
|
|
|
build: off
|
2019-09-14 20:36:37 +08:00
|
|
|
install:
|
|
|
|
- git submodule update --init --recursive
|
2019-12-18 01:53:59 +08:00
|
|
|
- cinst -y php --params "/InstallDir:C:\tools\php"
|
|
|
|
- cinst -y composer
|
2020-08-19 04:36:32 +08:00
|
|
|
- cinst -y dart-sdk --version=2.8.4
|
2016-09-26 07:53:27 +08:00
|
|
|
build_script:
|
2017-10-25 15:07:23 +08:00
|
|
|
- mvn -DskipTests install --batch-mode
|
2017-11-12 21:30:50 +08:00
|
|
|
- msbuild /target:restore /target:rebuild /property:Configuration=Release /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /verbosity:detailed runtime/CSharp/runtime/CSharp/Antlr4.dotnet.sln
|
2017-10-25 15:07:23 +08:00
|
|
|
- msbuild ./runtime-testsuite/target/classes/CSharp/runtime/CSharp/Antlr4.vs2013.sln /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /verbosity:detailed
|
2020-11-25 06:39:52 +08:00
|
|
|
after_build:
|
2017-11-12 21:30:50 +08:00
|
|
|
- msbuild /target:pack /property:Configuration=Release /verbosity:detailed runtime/CSharp/runtime/CSharp/Antlr4.dotnet.sln
|
2016-09-26 07:53:27 +08:00
|
|
|
test_script:
|
2020-10-10 22:42:00 +08:00
|
|
|
- mvn install -Dantlr-php-php="C:\tools\php\php.exe" -Dantlr-dart-dart="C:\tools\dart-sdk\bin\dart.exe" -Dantlr-dart-pub="C:\tools\dart-sdk\bin\pub.bat" -Dantlr-dart-dart2native="C:\tools\dart-sdk\bin\dart2native.bat" -Dantlr-python2-python="C:\Python27\python.exe" -Dantlr-python3-python="C:\Python35\python.exe" --batch-mode
|
2017-11-12 21:30:50 +08:00
|
|
|
artifacts:
|
2020-11-25 06:39:52 +08:00
|
|
|
- path: 'runtime\**\*.nupkg'
|
2017-11-12 21:30:50 +08:00
|
|
|
name: NuGet
|