forked from gsl-lite/gsl-lite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
64 lines (55 loc) · 1.91 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
version: "{branch} #{build}"
shallow_clone: true
image:
#- Visual Studio 2019
#- Visual Studio 2017
- Visual Studio 2015
environment:
matrix:
# VS 2017 and newer are tested with Azure Pipelines
#- generator: "Visual Studio 16 2019"
#- generator: "Visual Studio 15 2017"
- generator: "Visual Studio 14 2015"
- generator: "Visual Studio 12 2013"
- generator: "Visual Studio 11 2012"
- generator: "Visual Studio 10 2010"
configuration:
- Debug
#- Release
platform:
- Win32
- x64
matrix:
fast_finish: false
#exclude:
# - image: Visual Studio 2015
# generator: "Visual Studio 16 2019"
# - image: Visual Studio 2015
# generator: "Visual Studio 15 2017"
# - image: Visual Studio 2017
# generator: "Visual Studio 16 2019"
# - image: Visual Studio 2017
# generator: "Visual Studio 14 2015"
# - image: Visual Studio 2017
# generator: "Visual Studio 12 2013"
# - image: Visual Studio 2017
# generator: "Visual Studio 11 2012"
# - image: Visual Studio 2017
# generator: "Visual Studio 10 2010"
# - image: Visual Studio 2019
# generator: "Visual Studio 15 2017"
# - image: Visual Studio 2019
# generator: "Visual Studio 14 2015"
# - image: Visual Studio 2019
# generator: "Visual Studio 12 2013"
# - image: Visual Studio 2019
# generator: "Visual Studio 11 2012"
# - image: Visual Studio 2019
# generator: "Visual Studio 10 2010"
before_build:
- mkdir build && cd build
- cmake -A %platform% -G "%generator%" -DGSL_LITE_OPT_BUILD_TESTS=ON -DGSL_LITE_OPT_BUILD_EXAMPLES=ON ..
build_script:
- cmake --build . --config %configuration%
test_script:
- ctest --output-on-failure -C %configuration%