-
Notifications
You must be signed in to change notification settings - Fork 2
/
appveyor.yml
41 lines (33 loc) · 899 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
os:
- Visual Studio 2017
branches:
only:
- master
platform:
- x64
configuration:
- Release
#- Debug
environment:
MSBUILD_FLAGS: /verbosity:minimal /maxcpucount
matrix:
- generator: "Visual Studio 15"
cmake_options: "-DBUILD_TESTS=ON -DSVBB_BUILD_EXAMPLES=ON -DSVBB_CONSTEXPR_ALL_THE_THINGS=ON"
- generator: "Visual Studio 14"
cmake_options: "-DBUILD_TESTS=ON -DSVBB_BUILD_EXAMPLES=ON"
matrix:
fast_finish: true
before_build:
- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
- set BOOST_DIR=C:/Libraries/boost_1_64_0
build_script:
- cd %APPVEYOR_BUILD_FOLDER%
- mkdir build
- cd build
- >
cmake ..
-G "%generator%" %cmake_options%
- cmake --build . --target ALL_BUILD --config %configuration%
test_script:
- cd %APPVEYOR_BUILD_FOLDER%/build
- ctest -C %configuration% --output-on-failure .