appveyor using vs2015 - #833

This commit is contained in:
Mikulas Florek 2016-04-30 19:23:43 +02:00
parent dce51679cb
commit 046aab82ab

View file

@ -3,10 +3,10 @@ os: Windows Server 2012 R2
configuration: RelWithDebInfo
before_build:
- cd projects
- genie_vs13.bat
- genie_vs15.bat
- cd ..
build:
project: projects\tmp\vs2013\LumixEngine.sln
project: projects\tmp\vs2015\LumixEngine.sln
verbosity: minimal
test_script:
- ps: >-
@ -14,38 +14,40 @@ test_script:
cd LumixEngine_data
& "..\projects\tmp\vs2013\bin\RelWithDebInfo\unit_tests.exe" | Write-Output
& "..\projects\tmp\vs2015\bin\RelWithDebInfo\unit_tests.exe" | Write-Output
$wc = New-Object Net.WebClient
$url = "https://ci.appveyor.com/api/testresults/nunit/$Env:APPVEYOR_JOB_ID"
$wc.UploadFile($url, (Resolve-Path .\tests.xml))
- ps: >-
& "..\projects\tmp\vs2013\bin\RelWithDebInfo\studio.exe" -run_script unit_tests/render_tests/compile_shaders.lua | Write-Output
& "..\projects\tmp\vs2015\bin\RelWithDebInfo\studio.exe" -run_script unit_tests/render_tests/compile_shaders.lua | Write-Output
- ps: >-
& "..\projects\tmp\vs2013\bin\RelWithDebInfo\studio.exe" -run_script unit_tests/editor/main.lua | Write-Output
& "..\projects\tmp\vs2015\bin\RelWithDebInfo\studio.exe" -run_script unit_tests/editor/main.lua | Write-Output
- ps: >-
& "..\projects\tmp\vs2013\bin\RelWithDebInfo\app.exe" -pipeline pipelines/render_test.lua -script unit_tests/render_tests/main.lua | Write-Output
& "..\projects\tmp\vs2015\bin\RelWithDebInfo\app.exe" -pipeline pipelines/render_test.lua -script unit_tests/render_tests/main.lua | Write-Output
after_build:
- 7z a lumix.zip %APPVEYOR_BUILD_FOLDER%\projects\tmp\vs2013\bin\RelWithDebInfo\animation.dll
- 7z a lumix.zip %APPVEYOR_BUILD_FOLDER%\projects\tmp\vs2013\bin\RelWithDebInfo\audio.dll
- 7z a lumix.zip %APPVEYOR_BUILD_FOLDER%\projects\tmp\vs2013\bin\RelWithDebInfo\editor.dll
- 7z a lumix.zip %APPVEYOR_BUILD_FOLDER%\projects\tmp\vs2013\bin\RelWithDebInfo\engine.dll
- 7z a lumix.zip %APPVEYOR_BUILD_FOLDER%\projects\tmp\vs2013\bin\RelWithDebInfo\lua_script.dll
- 7z a lumix.zip %APPVEYOR_BUILD_FOLDER%\projects\tmp\vs2013\bin\RelWithDebInfo\physics.dll
- 7z a lumix.zip %APPVEYOR_BUILD_FOLDER%\projects\tmp\vs2013\bin\RelWithDebInfo\renderer.dll
- 7z a lumix.zip %APPVEYOR_BUILD_FOLDER%\projects\tmp\vs2013\bin\RelWithDebInfo\studio.exe
- 7z a lumix.zip %APPVEYOR_BUILD_FOLDER%\projects\tmp\vs2013\bin\RelWithDebInfo\animation.pdb
- 7z a lumix.zip %APPVEYOR_BUILD_FOLDER%\projects\tmp\vs2013\bin\RelWithDebInfo\audio.pdb
- 7z a lumix.zip %APPVEYOR_BUILD_FOLDER%\projects\tmp\vs2013\bin\RelWithDebInfo\editor.pdb
- 7z a lumix.zip %APPVEYOR_BUILD_FOLDER%\projects\tmp\vs2013\bin\RelWithDebInfo\engine.pdb
- 7z a lumix.zip %APPVEYOR_BUILD_FOLDER%\projects\tmp\vs2013\bin\RelWithDebInfo\lua_script.pdb
- 7z a lumix.zip %APPVEYOR_BUILD_FOLDER%\projects\tmp\vs2013\bin\RelWithDebInfo\physics.pdb
- 7z a lumix.zip %APPVEYOR_BUILD_FOLDER%\projects\tmp\vs2013\bin\RelWithDebInfo\renderer.pdb
- 7z a lumix.zip %APPVEYOR_BUILD_FOLDER%\projects\tmp\vs2013\bin\RelWithDebInfo\studio.pdb
- 7z a lumix.zip %APPVEYOR_BUILD_FOLDER%\projects\tmp\vs2015\bin\RelWithDebInfo\animation.dll
- 7z a lumix.zip %APPVEYOR_BUILD_FOLDER%\projects\tmp\vs2015\bin\RelWithDebInfo\audio.dll
- 7z a lumix.zip %APPVEYOR_BUILD_FOLDER%\projects\tmp\vs2015\bin\RelWithDebInfo\editor.dll
- 7z a lumix.zip %APPVEYOR_BUILD_FOLDER%\projects\tmp\vs2015\bin\RelWithDebInfo\engine.dll
- 7z a lumix.zip %APPVEYOR_BUILD_FOLDER%\projects\tmp\vs2015\bin\RelWithDebInfo\lua_script.dll
- 7z a lumix.zip %APPVEYOR_BUILD_FOLDER%\projects\tmp\vs2015\bin\RelWithDebInfo\navigation.dll
- 7z a lumix.zip %APPVEYOR_BUILD_FOLDER%\projects\tmp\vs2015\bin\RelWithDebInfo\physics.dll
- 7z a lumix.zip %APPVEYOR_BUILD_FOLDER%\projects\tmp\vs2015\bin\RelWithDebInfo\renderer.dll
- 7z a lumix.zip %APPVEYOR_BUILD_FOLDER%\projects\tmp\vs2015\bin\RelWithDebInfo\studio.exe
- 7z a lumix.zip %APPVEYOR_BUILD_FOLDER%\projects\tmp\vs2015\bin\RelWithDebInfo\animation.pdb
- 7z a lumix.zip %APPVEYOR_BUILD_FOLDER%\projects\tmp\vs2015\bin\RelWithDebInfo\audio.pdb
- 7z a lumix.zip %APPVEYOR_BUILD_FOLDER%\projects\tmp\vs2015\bin\RelWithDebInfo\editor.pdb
- 7z a lumix.zip %APPVEYOR_BUILD_FOLDER%\projects\tmp\vs2015\bin\RelWithDebInfo\engine.pdb
- 7z a lumix.zip %APPVEYOR_BUILD_FOLDER%\projects\tmp\vs2015\bin\RelWithDebInfo\lua_script.pdb
- 7z a lumix.zip %APPVEYOR_BUILD_FOLDER%\projects\tmp\vs2015\bin\RelWithDebInfo\navigation.pdb
- 7z a lumix.zip %APPVEYOR_BUILD_FOLDER%\projects\tmp\vs2015\bin\RelWithDebInfo\physics.pdb
- 7z a lumix.zip %APPVEYOR_BUILD_FOLDER%\projects\tmp\vs2015\bin\RelWithDebInfo\renderer.pdb
- 7z a lumix.zip %APPVEYOR_BUILD_FOLDER%\projects\tmp\vs2015\bin\RelWithDebInfo\studio.pdb
artifacts:
- path: tests.xml