forked from recastnavigation/recastnavigation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
36 lines (26 loc) · 915 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
32
33
34
35
36
shallow_clone: true
os:
- Visual Studio 2015
environment:
matrix:
- TOOLSET: vs2010
- TOOLSET: vs2013
- TOOLSET: vs2015
install:
# Download Premake
- ps: Start-FileDownload 'https://github.com/premake/premake-core/releases/download/v5.0.0-alpha7/premake-5.0.0-alpha7-windows.zip' 'premake.zip'
# Extract it in-place; premake5.exe is at the top level.
- 7z x premake.zip
# Download SDL.
- ps: Start-FileDownload 'https://www.libsdl.org/release/SDL2-devel-2.0.4-VC.zip' 'RecastDemo/Contrib/SDL.zip'
# Extract it, put it in the right place, and rename it.
- cd RecastDemo\Contrib && 7z x SDL.zip && ren SDL2-2.0.4 SDL && cd ..\..
# Generate solution files using premake.
- cd RecastDemo && "../premake5.exe" %TOOLSET% && cd ..
configuration:
- Debug
- Release
build:
project: RecastDemo/Build/$(TOOLSET)/recastnavigation.sln
after_test:
- RecastDemo\Bin\Tests.exe