Skip to content

Commit 1d419d1

Browse files
kzeslafpantor
authored andcommitted
Add more build configurations to appveyor (#123)
1 parent 77062f5 commit 1d419d1

File tree

1 file changed

+27
-9
lines changed

1 file changed

+27
-9
lines changed

appveyor.yml

Lines changed: 27 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,43 @@
11
version: '{build}'
22

3+
image:
4+
- Visual Studio 2019
5+
6+
platform:
7+
- Win32
8+
- x64
9+
10+
configuration:
11+
# - Debug
12+
- Release
13+
314
environment:
415
matrix:
5-
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
6-
platform: x64
7-
FLAGS: "/permissive- /std:c++17 /utf-8 /Zc:__cplusplus"
8-
GENERATOR: Visual Studio 15 2017
16+
# Visual Studio 2015
17+
# - TOOLCHAIN: v140
18+
# STD: 14
19+
# Visual Studio 2017
20+
- TOOLCHAIN: v141
21+
STD: 14
22+
- TOOLCHAIN: v141
23+
STD: 17
24+
# Visual Studio 2019
25+
- TOOLCHAIN: v142
26+
STD: 14
27+
- TOOLCHAIN: v142
28+
STD: 17
929

1030
init:
1131
- cmake --version
1232
- msbuild /version
1333

14-
install: []
15-
1634
before_build:
1735
- mkdir -p build
1836
- cd build
19-
- cmake .. -G "%GENERATOR%" -DCMAKE_CXX_FLAGS="%FLAGS%" -DCMAKE_IGNORE_PATH="C:/Program Files/Git/usr/bin"
37+
- cmake .. -A %PLATFORM% -T %TOOLCHAIN% -DCMAKE_CXX_STANDARD=%STD% -DCMAKE_CXX_FLAGS="/permissive- /utf-8 /Zc:__cplusplus"
2038

2139
build_script:
22-
- cmake --build . --config Release
40+
- cmake --build . --config %CONFIGURATION% -- -verbosity:n
2341

2442
test_script:
25-
- ctest -C Release -V -j
43+
- ctest -C %CONFIGURATION% -V -j

0 commit comments

Comments
 (0)