-
-
Notifications
You must be signed in to change notification settings - Fork 60
/
.appveyor.yml
71 lines (61 loc) · 1.7 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
61
62
63
64
65
66
67
68
69
70
71
init:
- git config --global core.autocrlf input
shallow_clone: false
branches:
only:
- master
platform:
- x64
configuration:
- Debug
- Release
environment:
matrix:
- job_name: Ubuntu 20 and Clang 10
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
- job_name: Visual Studio 2022
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
- job_name: Ubuntu 20 and GCC 9
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
matrix:
exclude:
- configuration: Release
job_name: Visual Studio 2022
- configuration: Release
job_name: Ubuntu 20 and GCC 9
install:
- git submodule update --init --recursive
for:
- matrix:
only:
- job_name: Ubuntu 20 and GCC 9
environment:
GCC_VERSION: 9
build_script:
- gcc --version
- mkdir build
- cd build
- cmake .. -DCMAKE_BUILD_TYPE:STRING="%configuration%"
- cmake --build . -j 4
- matrix:
only:
- job_name: Ubuntu 20 and Clang 10
environment:
CLANG_VERSION: 10
build_script:
- clang --version
- mkdir build
- cd build
- cmake .. -DCMAKE_BUILD_TYPE:STRING="%configuration%" -DCMAKE_CXX_COMPILER=clang++-10 -DCMAKE_C_COMPILER=clang-10
- cmake --build . -j 4
- matrix:
only:
- job_name: Visual Studio 2022
environment:
VC_VERSION: 17.6
build_script:
- call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
- mkdir build
- cd build
- cmake .. -G "Ninja" -DCMAKE_BUILD_TYPE:STRING="%configuration%" -DCMAKE_C_COMPILER:FILEPATH="cl.exe" -DCMAKE_CXX_COMPILER:FILEPATH="cl.exe"
- cmake --build . -j 4