-
Notifications
You must be signed in to change notification settings - Fork 7
/
.appveyor.yml
64 lines (59 loc) · 1.87 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
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
configuration: Debug
platform: x64
GENERATOR: Visual Studio 15 2017
ARCHITECTURE: x64
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
configuration: Release
platform: x64
GENERATOR: Visual Studio 15 2017
ARCHITECTURE: x64
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
configuration: Debug
platform: x64
GENERATOR: Visual Studio 16 2019
ARCHITECTURE: x64
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
configuration: Release
platform: x64
GENERATOR: Visual Studio 16 2019
ARCHITECTURE: x64
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
configuration: Debug
platform: x86
GENERATOR: Visual Studio 15 2017
ARCHITECTURE: Win32
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
configuration: Release
platform: x86
GENERATOR: Visual Studio 15 2017
ARCHITECTURE: Win32
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
configuration: Debug
platform: x86
GENERATOR: Visual Studio 16 2019
ARCHITECTURE: Win32
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
configuration: Release
platform: x86
GENERATOR: Visual Studio 16 2019
ARCHITECTURE: Win32
clone_script:
- cmd: git clone -q --branch=%APPVEYOR_REPO_BRANCH% https://github.com/%APPVEYOR_REPO_NAME%.git %APPVEYOR_BUILD_FOLDER%
- cmd: cd %APPVEYOR_BUILD_FOLDER%
- cmd: git checkout -qf %APPVEYOR_REPO_COMMIT%
- cmd: git submodule update --init --recursive
init:
- cmake --version
- msbuild /version
build:
verbosity: quiet
build_script:
- mkdir build
- cd build
- cmake -G "%GENERATOR%" -A "%ARCHITECTURE%" ..
- cmake --build . --target test_all --config "%configuration%"
test_script:
- .\test\%configuration%\test_all.exe