2019-08-15 21:41:22 +00:00
|
|
|
image: Visual Studio 2019
|
|
|
|
|
|
|
|
shallow_clone: true
|
|
|
|
|
|
|
|
|
|
|
|
environment:
|
|
|
|
matrix:
|
|
|
|
- Platform: x64
|
|
|
|
- Platform: Win32
|
2020-04-19 17:34:59 +00:00
|
|
|
|
2019-08-15 21:41:22 +00:00
|
|
|
Configuration: Release
|
|
|
|
|
2020-04-19 17:34:59 +00:00
|
|
|
SDL2_version: 2.0.12
|
2019-08-15 21:41:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
install:
|
|
|
|
- cmd: |
|
2020-04-19 17:34:59 +00:00
|
|
|
curl -o "C:\SDL2-devel.zip" "https://www.libsdl.org/release/SDL2-devel-%SDL2_version%-VC.zip"
|
2019-08-15 21:41:22 +00:00
|
|
|
7z x "C:\SDL2-devel.zip" -o"C:\"
|
|
|
|
xcopy /S "C:\SDL2-%SDL2_version%\include" src\common
|
|
|
|
|
|
|
|
if %Platform%==x64 xcopy /S "C:\SDL2-%SDL2_version%\lib\x64" src\windows
|
|
|
|
if %Platform%==Win32 xcopy /S "C:\SDL2-%SDL2_version%\lib\x86" src\windows
|
|
|
|
|
|
|
|
|
|
|
|
build_script:
|
|
|
|
- cmd: |
|
|
|
|
msbuild src\windows\Stella.sln
|
|
|
|
|
|
|
|
|
|
|
|
artifacts:
|
|
|
|
- path: '**\stella.exe'
|