-
Notifications
You must be signed in to change notification settings - Fork 6
/
appveyor.yml
59 lines (54 loc) · 1.59 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
# AppVeyor Integration
image:
- Visual Studio 2015
- Visual Studio 2017
- Ubuntu
configuration:
- Release
build_script:
- ps: |
cd $env:APPVEYOR_BUILD_FOLDER/cpp-signal-build
cmake --build . --config Release 2>&1
test_script:
- ps: |
cd $env:APPVEYOR_BUILD_FOLDER/cpp-signal-build
ctest -C Release 2>&1
for:
-
matrix:
only:
- image: Visual Studio 2015
before_build:
- ps: |
mkdir $env:APPVEYOR_BUILD_FOLDER/cpp-signal-build
cd $env:APPVEYOR_BUILD_FOLDER/cpp-signal-build
cmake -G "Visual Studio 14" .. 2>&1
- call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64
- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86_amd64
-
matrix:
only:
- image: Visual Studio 2017
before_build:
- ps: |
mkdir $env:APPVEYOR_BUILD_FOLDER/cpp-signal-build
cd $env:APPVEYOR_BUILD_FOLDER/cpp-signal-build
cmake -G "Visual Studio 15 2017 Win64" .. 2>&1
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
-
matrix:
only:
- image: Ubuntu
before_build:
- sh: |
mkdir $APPVEYOR_BUILD_FOLDER/cpp-signal-build
cd $APPVEYOR_BUILD_FOLDER/cpp-signal-build
cmake .. 2>&1
build_script:
- sh: |
cd $APPVEYOR_BUILD_FOLDER/cpp-signal-build
cmake --build . --config Release 2>&1
test_script:
- sh: |
cd $APPVEYOR_BUILD_FOLDER/cpp-signal-build
ctest -C Release 2>&1