forked from jorgen/json_struct
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
68 lines (61 loc) · 1.58 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
version: 1.0.{build}
image:
- Ubuntu2004
- Visual Studio 2015
- Visual Studio 2017
- Visual Studio 2019
# - macos
platform:
- x86
- x64
configuration:
- Debug
for:
-
matrix:
only:
- image: Visual Studio 2019
platform: x86
before_build: call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat"
-
matrix:
only:
- image: Visual Studio 2019
platform: x64
before_build: call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
-
matrix:
only:
- image: Visual Studio 2017
platform: x86
before_build: call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
-
matrix:
only:
- image: Visual Studio 2017
platform: x64
before_build: call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
-
matrix:
only:
- image: Visual Studio 2015
platform: x86
before_build:
- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86
-
matrix:
only:
- image: Visual Studio 2015
platform: x64
before_build:
- call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64
- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86_amd64
matrix:
exclude:
- image: Ubuntu2004
platform: x86
build_script:
- cmake -H. -B./build -DJSON_STRUCT_OPT_BUILD_BENCHMARKS=OFF -GNinja
- ninja -C build
test_script:
- ctest --test-dir build