-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy path.appveyor.yml
60 lines (52 loc) · 1.44 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
version: '{build}'
environment:
matrix:
- CMAKE_GENERATOR: Visual Studio 15 2017 Win64
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
- CMAKE_GENERATOR: Visual Studio 15 2017
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
- CMAKE_GENERATOR: Visual Studio 14 2015 Win64
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- CMAKE_GENERATOR: Visual Studio 14 2015
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
configuration:
- Debug
- Release
matrix:
fast_finish: true
before_build:
- cmd: mkdir build
- cmd: cd build
- cmd: cmake -G"%CMAKE_GENERATOR%" -DCMAKE_BUILD_TYPE=%configuration% -DCMAKE_INSTALL_PREFIX="%APPVEYOR_BUILD_FOLDER%\install" ..
build_script:
- cmd: cmake --build . --config %configuration% -- /m
- cmd: cmake --build . --target install
branches:
only:
# Pushes and PRs to the master branch.
- master
# Version tags.
- /^v?\d+\.\d+.*$/
skip_commits:
files:
# Exact files.
- .travis.yml
- LICENSE
- LICENSE-THIRD-PARTY
- THIRD-PARTY-NOTICES
# All .gitignore files within repository.
- '**/.gitignore'
# All *.md files within repository.
- '**/*.md'
# All README files within repository.
- '**/README'
- '**/README.txt'
- '**/readme'
- '**/readme.txt'
notifications:
- provider: Email
to:
- '{{commitAuthorEmail}}'
on_build_success: false
on_build_failure: true
on_build_status_changed: true