forked from johnmcfarlane/cnl
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.appveyor.yml
40 lines (35 loc) · 1.22 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
version: 0.1.{build}
environment:
fast_finish: true # set this flag to immediately finish build once one of the jobs fails.
matrix:
- platform: x64
configuration: Debug
cmake_generator: "Visual Studio 15 2017 Win64"
msbuild_property: x64
exceptions: OFF
std: 17
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
- platform: x86
configuration: Release
cmake_generator: "Visual Studio 15 2017"
msbuild_property: win32
exceptions: ON
std: 11
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 Preview
- platform: x86
configuration: RelWithDebInfo
cmake_generator: "Visual Studio 15 2017"
msbuild_property: win32
exceptions: ON
std: 14
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
build_script:
- cmd: >-
set BOOST_ROOT=C:\Libraries\boost_1_66_0
cmake -DCMAKE_BUILD_TYPE=%configuration% -DCNL_DEV=ON -DCNL_EXCEPTIONS=%exceptions% -DCNL_STD=%std% -G "%cmake_generator%" .
cmake --build . -- /property:Configuration=%configuration% /property:Platform=%msbuild_property% /maxcpucount
test_script:
- cmd: >-
ctest --output-on-failure -j 32
src\benchmark\%configuration%\Benchmark.exe
shallow_clone: true