forked from Unity-Technologies/crunch
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.appveyor.yml
60 lines (45 loc) · 1.5 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Documentation: https://wiki.unvanquished.net/wiki/Continuous_integration
skip_branch_with_pr: true
only_commits:
files:
- .appveyor.yml
# The rest of this list should stay in sync with azure-pipelines.yml
- crunch/
- crnlib/
- example1/
- example2/
- example3/
- inc/
- test/
- cmake/
- CMakeLists.txt
environment:
matrix:
- 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
build_script:
# simple line break: space
# double line break: line break
# The CFLAGS/CXXFLAGS 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.
# The CMAKE_CONFIGURATION_TYPES CMake option make sure to not uselessly provide
# build configurations that will not be used.
- cmd: >
pip install colorama
echo %NUMBER_OF_PROCESSORS%
set CMAKE_BUILD_PARALLEL_LEVEL=%NUMBER_OF_PROCESSORS%
cmake --version
set CFLAGS=/Wv:19.29.30037
set CXXFLAGS=/Wv:19.29.30037
cmake -Wdev -G"%generator%" -A"%platform%" -S. -Bbuild -DCMAKE_CONFIGURATION_TYPES=Release
-DBUILD_CRUNCH=ON -DBUILD_EXAMPLES=ON
-DUSE_FAST_MATH=OFF
cmake --build build --config Release
python test\test.py