-
Notifications
You must be signed in to change notification settings - Fork 51
/
appveyor.yml
53 lines (41 loc) · 1.03 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
#---------------------------------#
# environment configuration #
#---------------------------------#
# Build worker image (VM template)
image: Visual Studio 2015
clone_depth: 3
platform:
- Win32
- x64
configuration:
- Debug
- Release
environment:
matrix:
- TOOLSET: v140
# - TOOLSET: v140_clang_c2
matrix:
fast_finish: true
allow_failures:
- TOOLSET: v140_clang_c2
# scripts that are called at very beginning, before repo cloning
init:
- cmd: cmake --version
- cmd: msbuild /version
install:
- git submodule update --init --recursive
before_build:
- mkdir build
- cd build
- if "%platform%"=="Win32" set CMAKE_GENERATOR_NAME=Visual Studio 14 2015
- if "%platform%"=="x64" set CMAKE_GENERATOR_NAME=Visual Studio 14 2015 Win64
- cmake -G "%CMAKE_GENERATOR_NAME%" -T %TOOLSET% -DCMAKE_BUILD_TYPE=%configuration% -DBP_BUILD_TESTS=ON ..
- cd ..
build:
project: build/BoilerPlate.sln
parallel: true
verbosity: minimal
test_script:
- cd build
- ctest -C %configuration% .
- cd ..