forked from alekmaul/potator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
31 lines (23 loc) · 934 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
version: 1.0.{build}
image: Visual Studio 2019
clone_folder: c:\projects\potator
environment:
SDL_VERSION: 2.0.10
install:
- ps: >-
New-Item c:\projects\sdl -type directory
New-Item c:\projects\potator\artifacts -type directory
cd c:\projects\sdl
Start-FileDownload "https://www.libsdl.org/release/SDL2-devel-${env:SDL_VERSION}-VC.zip"
7z x SDL2-devel-${env:SDL_VERSION}-VC.zip
Copy-Item SDL2-${env:SDL_VERSION}\lib\x86\SDL2.dll c:\projects\potator\artifacts\
cd c:\projects\potator\platform\SDL2\
Copy-Item sdl2-config.cmake c:\projects\sdl\SDL2-${env:SDL_VERSION}
cmake -DSDL2_DIR=c:\projects\sdl\SDL2-${env:SDL_VERSION} -DCMAKE_CONFIGURATION_TYPES=Release -DCMAKE_GENERATOR_PLATFORM=Win32 ./
build:
verbosity: minimal
after_build:
- ps: Copy-Item C:\projects\potator\platform\SDL2\Release\PotatorSDL2.exe C:\projects\potator\artifacts\
artifacts:
- path: artifacts
name: artifacts