-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.appveyor.yml
93 lines (83 loc) · 2.19 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
version: "{build}-{branch}"
environment:
matrix:
- job_name: Visual Studio 2015
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- job_name: Visual Studio 2017
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
- job_name: Visual Studio 2019
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
- job_name: Ubuntu GCC 5
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu1604
- job_name: Ubuntu GCC 7
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu
- job_name: Ubuntu GCC 8
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu
- job_name: Ubuntu GCC 9
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu
- job_name: macOS XCode 10
APPVEYOR_BUILD_WORKER_IMAGE: macOS
- job_name: macOS XCode 11
APPVEYOR_BUILD_WORKER_IMAGE: macOS
- job_name: macOS XCode 12
APPVEYOR_BUILD_WORKER_IMAGE: macOS
for:
- matrix:
only:
- job_name: Ubuntu GCC 5
environment:
CC: gcc-5
CXX: g++-5
- matrix:
only:
- job_name: Ubuntu GCC 7
environment:
CC: gcc-7
CXX: g++-7
- matrix:
only:
- job_name: Ubuntu GCC 8
environment:
CC: gcc-8
CXX: g++-8
- matrix:
only:
- job_name: Ubuntu GCC 9
environment:
CC: gcc-9
CXX: g++-9
- matrix:
only:
- job_name: macOS XCode 10
init:
- sudo xcode-select -s /Applications/Xcode-10.3.app
- matrix:
only:
- job_name: macOS XCode 11
init:
- sudo xcode-select -s /Applications/Xcode-11.7.app
- matrix:
only:
- job_name: macOS XCode 12
init:
- sudo xcode-select -s /Applications/Xcode-12.3.app
platform:
- Win32
- x64
configuration:
- Debug
- Release
- MinSizeRel
- RelWithDebInfo
before_build:
- ps: gci env:* | sort-object name
- cmake --version
- cmd: cmake . -B build -D CMAKE_BUILD_TYPE=%CONFIGURATION% -A %PLATFORM%
- sh: cmake . -B build -D CMAKE_BUILD_TYPE=${CONFIGURATION}
build_script:
- cmd: cmake --build build --config %CONFIGURATION% -j %NUMBER_OF_PROCESSORS%
- sh: cmake --build build --config ${CONFIGURATION} -j $(nproc)
test_script:
- cd build
- cmd: ctest -C %CONFIGURATION% -j %NUMBER_OF_PROCESSORS%
- sh: ctest -C ${CONFIGURATION} -j $(nproc)