-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
35 lines (32 loc) · 1.1 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
version: 1.0.{build}
configuration:
- Debug
- Release
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
CMAKE_GEN_TYPE: '"Visual Studio 9 2008"'
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
CMAKE_GEN_TYPE: '"Visual Studio 10 2010"'
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
CMAKE_GEN_TYPE: '"Visual Studio 11 2012"'
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
CMAKE_GEN_TYPE: '"Visual Studio 12 2013"'
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
CMAKE_GEN_TYPE: '"Visual Studio 14 2015"'
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
CMAKE_GEN_TYPE: '"Visual Studio 14 2015 Win64"'
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
CMAKE_GEN_TYPE: '"Visual Studio 15 2017"'
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
CMAKE_GEN_TYPE: '"Visual Studio 15 2017 Win64"'
build_script:
- ps: >-
if(!(Test-Path -Path build )){
mkdir build
}
cd build
cmake ../ -G $env:CMAKE_GEN_TYPE
cmake --build . --config $env:CONFIGURATION
test_script:
- ps: ctest -C $env:CONFIGURATION --output-on-failure