-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
43 lines (38 loc) · 1.1 KB
/
.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
37
38
39
40
41
42
43
image:
- Visual Studio 2017
configuration:
- Release
- Debug
matrix:
fast_finish: true
cache:
- c:\tools\vcpkg\installed
install:
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
- cd c:\tools\vcpkg
- git pull
- vcpkg update
- vcpkg upgrade --no-dry-run
- vcpkg integrate install
- vcpkg --triplet x64-windows install glm glfw3 sfml glbinding
before_build:
- cd C:\projects\swarmmind-client
- mkdir build && cd build
- cmake -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake -DBOOST_ROOT=C:\Libraries\boost_1_67_0 -G "Visual Studio 15 2017 Win64" ..
build:
project: build\SwarmMind-Client.sln
verbosity: minimal
parallel: true
after_build:
- ps: cd C:\projects\swarmmind-client
- mkdir package
- ps: cp build\src\$env:CONFIGURATION\SwarmMind-Client.exe package
- ps: cp -r build\src\$env:CONFIGURATION\*.dll package
- ps: cp -r fonts package
- ps: cp -r shaders package
- ps: cp -r sound package
- ps: cp -r res package
artifacts:
- path: package
name: SwarmMind_Client
type: zip