2022-06-14 20:19:47 +00:00
|
|
|
image: Visual Studio 2022
|
2019-08-15 21:41:22 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2022-09-09 00:38:39 +00:00
|
|
|
SDL2_version: 2.24.0
|
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
|
|
|
|
|
2022-08-18 21:36:18 +00:00
|
|
|
if %Platform%==x64 xcopy /S "C:\SDL2-%SDL2_version%\lib\x64" src\os\windows
|
|
|
|
if %Platform%==Win32 xcopy /S "C:\SDL2-%SDL2_version%\lib\x86" src\os\windows
|
2019-08-15 21:41:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
build_script:
|
|
|
|
- cmd: |
|
2022-08-18 21:36:18 +00:00
|
|
|
msbuild src\os\windows\Stella.sln
|
2019-08-15 21:41:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
artifacts:
|
|
|
|
- path: '**\stella.exe'
|