forked from DaemonEngine/Daemon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
46 lines (36 loc) · 1.14 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
44
45
46
# Documentation: https://wiki.unvanquished.net/wiki/Continuous_integration
branches:
except:
- debian
environment:
configuration: Debug
matrix:
# see 96d5c1f3ed77b09c64ce7c3c7cbd37c70456b3db
# for NMake template
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
generator: Visual Studio 16 2019
platform: x64
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
generator: Visual Studio 16 2019
platform: win32
build:
parallel: true
before_build:
- git submodule update --init --recursive
build_script:
# simple line break: space
# double line break: line break
- cmd: >
cmake --version
:: These env vars *prepend* to CMAKE_<lang>_FLAGS rather than overwriting.
:: /Wv pins warnings to a specific compiler version so that new ones
:: don't make the build error after Appveyor updates the compiler.
set CFLAGS=/Wv:19.29.30037
set CXXFLAGS=/Wv:19.29.30037
cmake
-Wdev -Wdeprecated
-G"%generator%"
-DUSE_PRECOMPILED_HEADER=0 -DUSE_WERROR=1 -DBE_VERBOSE=1
-DCMAKE_BUILD_TYPE="%configuration%"
-S. -Bbuild
cmake --build build