/
appveyor.yml
42 lines (32 loc) · 722 Bytes
/
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
#---------------------------------#
# environment configuration #
#---------------------------------#
# Build worker image (VM template)
image: Visual Studio 2017
clone_depth: 3
platform:
- Win32
- x64
configuration:
- Debug
- Release
# environment:
# matrix:
# - TOOLSET: v140
matrix:
fast_finish: false
# scripts that are called at very beginning, before repo cloning
init:
- cmd: cmake --version
- cmd: msbuild /version
before_build:
- cmake . -Bbuild -A%PLATFORM% -DCMAKE_BUILD_TYPE=%configuration%
build:
project: build/CPP_BOILERPLATE.sln
parallel: true
verbosity: minimal
test_script:
- cd build
- set CTEST_OUTPUT_ON_FAILURE=1
- ctest -C %configuration%
- cd ..