File tree Expand file tree Collapse file tree 1 file changed +27
-9
lines changed Expand file tree Collapse file tree 1 file changed +27
-9
lines changed Original file line number Diff line number Diff line change 1
1
version : ' {build}'
2
2
3
+ image :
4
+ - Visual Studio 2019
5
+
6
+ platform :
7
+ - Win32
8
+ - x64
9
+
10
+ configuration :
11
+ # - Debug
12
+ - Release
13
+
3
14
environment :
4
15
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
9
29
10
30
init :
11
31
- cmake --version
12
32
- msbuild /version
13
33
14
- install : []
15
-
16
34
before_build :
17
35
- mkdir -p build
18
36
- 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 "
20
38
21
39
build_script :
22
- - cmake --build . --config Release
40
+ - cmake --build . --config %CONFIGURATION% -- -verbosity:n
23
41
24
42
test_script :
25
- - ctest -C Release -V -j
43
+ - ctest -C %CONFIGURATION% -V -j
You can’t perform that action at this time.
0 commit comments