-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathappveyor.yml
35 lines (28 loc) · 948 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
os: Visual Studio 2015
environment:
matrix:
- GENERATOR: "Visual Studio 14 2015"
- GENERATOR: "Visual Studio 12 2013"
- GENERATOR: "Visual Studio 11 2012"
- GENERATOR: "Visual Studio 10 2010"
- GENERATOR: "Visual Studio 9 2008"
platform:
- x86
- x64
configuration:
- Debug
- Release
matrix:
allow_failures:
- GENERATOR: "Visual Studio 9 2008"
platform: x64
build_script:
- ps: if($env:PLATFORM -eq "x64") { $env:CMAKE_GEN_SUFFIX=" Win64" }
- cmake "-G%GENERATOR%%CMAKE_GEN_SUFFIX%" -H. -B_builds -DHUNTER_CONFIGURATION_TYPES="%CONFIGURATION%"
- cmake --build _builds --config "%CONFIGURATION%"
test_script:
- ps: cd _builds
- ctest -VV -C "%CONFIGURATION%" --output-on-failure
on_failure:
- ps: if (Test-Path _builds/CMakeFiles/CMakeOutput.log) { cat _builds/CMakeFiles/CMakeOutput.log }
- ps: if (Test-Path _builds/CMakeFiles/CMakeError.log) { cat _builds/CMakeFiles/CMakeError.log }