LumixEngine/appveyor.yml

59 lines
2.8 KiB
YAML
Raw Normal View History

2016-07-01 22:42:45 +02:00
version: 0.25.{build}
2015-02-26 00:03:49 +01:00
os: Windows Server 2012 R2
2015-12-05 00:07:31 +01:00
configuration: RelWithDebInfo
2015-07-27 21:56:42 +02:00
before_build:
- cd projects
2016-04-30 19:23:43 +02:00
- genie_vs15.bat
2015-07-27 21:56:42 +02:00
- cd ..
2015-02-26 00:03:49 +01:00
build:
2016-04-30 19:23:43 +02:00
project: projects\tmp\vs2015\LumixEngine.sln
2015-02-26 00:03:49 +01:00
verbosity: minimal
2015-07-29 00:35:45 +02:00
test_script:
- ps: >-
git clone --depth=1 https://github.com/nem0/LumixEngine_data.git 2>&1 | % { $_.ToString() }
cd LumixEngine_data
2016-01-09 10:18:56 +01:00
2016-04-30 19:23:43 +02:00
& "..\projects\tmp\vs2015\bin\RelWithDebInfo\unit_tests.exe" | Write-Output
2015-07-29 00:35:45 +02:00
$wc = New-Object Net.WebClient
$url = "https://ci.appveyor.com/api/testresults/nunit/$Env:APPVEYOR_JOB_ID"
$wc.UploadFile($url, (Resolve-Path .\tests.xml))
2015-02-26 00:03:49 +01:00
2016-01-10 23:12:32 +01:00
- ps: >-
2016-04-30 19:23:43 +02:00
& "..\projects\tmp\vs2015\bin\RelWithDebInfo\studio.exe" -run_script unit_tests/render_tests/compile_shaders.lua | Write-Output
2016-01-10 23:12:32 +01:00
2016-01-11 21:31:02 +01:00
- ps: >-
2016-04-30 19:23:43 +02:00
& "..\projects\tmp\vs2015\bin\RelWithDebInfo\studio.exe" -run_script unit_tests/editor/main.lua | Write-Output
2016-01-11 21:31:02 +01:00
2016-01-09 10:14:59 +01:00
- ps: >-
2016-04-30 19:23:43 +02:00
& "..\projects\tmp\vs2015\bin\RelWithDebInfo\app.exe" -pipeline pipelines/render_test.lua -script unit_tests/render_tests/main.lua | Write-Output
2016-01-09 10:14:59 +01:00
2015-07-27 23:15:20 +02:00
after_build:
2016-04-30 19:23:43 +02:00
- 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
2016-01-14 00:18:38 +01:00
2015-02-26 00:03:49 +01:00
artifacts:
2015-07-29 00:35:45 +02:00
- path: tests.xml
name: tests.xml
2015-07-27 23:15:20 +02:00
- path: lumix.zip
2015-07-28 00:46:39 +02:00
name: lumix.zip