forked from mpark/variant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
68 lines (58 loc) · 1.83 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
build:
verbosity: detailed
clone_depth: 1
install:
- cmd: git submodule -q update --init
environment:
matrix:
- GENERATOR: Visual Studio 14 2015 Win64
EXCEPTIONS: ON
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- GENERATOR: Visual Studio 14 2015 Win64
EXCEPTIONS: OFF
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
# /std:c++14
- GENERATOR: Visual Studio 15 2017 Win64
CXXFLAGS: /std:c++14 /permissive-
EXCEPTIONS: ON
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
- GENERATOR: Visual Studio 15 2017 Win64
CXXFLAGS: /std:c++14 /permissive-
EXCEPTIONS: OFF
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
# /std:c++latest
- GENERATOR: Visual Studio 15 2017 Win64
CXXFLAGS: /std:c++latest /permissive-
EXCEPTIONS: ON
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
- GENERATOR: Visual Studio 15 2017 Win64
CXXFLAGS: /std:c++latest /permissive-
EXCEPTIONS: OFF
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
# Clang/LLVM
- GENERATOR: Visual Studio 14 2015 Win64
TOOLSET: LLVM-vs2014
EXCEPTIONS: ON
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- GENERATOR: Visual Studio 14 2015 Win64
TOOLSET: LLVM-vs2014
EXCEPTIONS: OFF
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
platform: x64
configuration:
- Debug
- Release
branches:
only:
- master
build_script:
- mkdir build
- cd build
- ps: |
if (Test-Path env:TOOLSET) {
cmake -G "$env:GENERATOR" -T "$env:TOOLSET" -DMPARK_VARIANT_EXCEPTIONS="$env:EXCEPTIONS" -DMPARK_VARIANT_INCLUDE_TESTS="mpark" ..
} else {
cmake -G "$env:GENERATOR" -DMPARK_VARIANT_EXCEPTIONS="$env:EXCEPTIONS" -DMPARK_VARIANT_INCLUDE_TESTS="mpark" ..
}
- cmake --build . --config %CONFIGURATION%
- ctest -V