antlr/appveyor.yml

22 lines
1.3 KiB
YAML
Raw Normal View History

2020-11-25 06:39:52 +08:00
version: '4.9.1-SNAPSHOT+AppVeyor.{build}'
cache:
- '%USERPROFILE%\.m2'
- '%USERPROFILE%\.nuget\packages -> **\project.json'
2020-11-25 06:39:52 +08:00
image: Visual Studio 2017
build: off
2019-09-14 20:36:37 +08:00
install:
- git submodule update --init --recursive
- cinst -y php --params "/InstallDir:C:\tools\php"
- cinst -y composer
- cinst -y dart-sdk --version=2.8.4
2016-09-26 07:53:27 +08:00
build_script:
- 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
- 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