Improving AppVeyor CI with other languages.
Change-Id: Iff630905b5f90814c5f728e3c0e10f7fcd67c7fe
This commit is contained in:
parent
6301da75d1
commit
2a7a44be33
30
appveyor.yml
30
appveyor.yml
|
@ -14,13 +14,33 @@ configuration:
|
||||||
|
|
||||||
before_build:
|
before_build:
|
||||||
- cmake -G"Visual Studio 10 2010"
|
- cmake -G"Visual Studio 10 2010"
|
||||||
|
# This cuts down on a lot of noise generated by xamarin warnings.
|
||||||
|
- del "C:\Program Files (x86)\MSBuild\14.0\Microsoft.Common.targets\ImportAfter\Xamarin.Common.targets"
|
||||||
|
|
||||||
build:
|
build:
|
||||||
project: ALL_BUILD.vcxproj
|
project: ALL_BUILD.vcxproj
|
||||||
|
verbosity: minimal
|
||||||
|
|
||||||
#test_script:
|
test_script:
|
||||||
# - Debug/flattests.exe
|
- rem "---------------- C++ -----------------"
|
||||||
|
- "%CONFIGURATION%\\flattests.exe"
|
||||||
|
- rem "---------------- Java -----------------"
|
||||||
|
- "cd tests"
|
||||||
|
- "java -version"
|
||||||
|
- "JavaTest.bat"
|
||||||
|
- rem "---------------- JS -----------------"
|
||||||
|
- "node --version"
|
||||||
|
- "..\\%CONFIGURATION%\\flatc -b monster_test.fbs unicode_test.json"
|
||||||
|
- "node JavaScriptTest"
|
||||||
|
- rem "---------------- C# -----------------"
|
||||||
|
# Have to compile this here rather than in "build" above because AppVeyor only
|
||||||
|
# supports building one project??
|
||||||
|
- "cd FlatBuffers.Test"
|
||||||
|
- "msbuild.exe /property:Configuration=Release;OutputPath=tempcs /verbosity:minimal FlatBuffers.Test.csproj"
|
||||||
|
- "tempcs\\FlatBuffers.Test.exe"
|
||||||
|
# TODO: add more languages.
|
||||||
|
- "cd ..\\.."
|
||||||
|
|
||||||
#artifacts:
|
artifacts:
|
||||||
# - path: Release/flatc.exe
|
- path: $(CONFIGURATION)\\flatc.exe
|
||||||
# name: flatc.exe
|
name: flatc.exe
|
||||||
|
|
Loading…
Reference in New Issue