-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathappveyor.yml
More file actions
39 lines (30 loc) · 811 Bytes
/
appveyor.yml
File metadata and controls
39 lines (30 loc) · 811 Bytes
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
version: 0.1 ({build})
skip_branch_with_pr: true
image:
- Visual Studio 2017
- Visual Studio 2019
platform:
- x64
matrix:
fast_finish: true # Stop remaining jobs after a job failure
configuration:
- Release
clone_folder: C:\cpp-oss-template
install:
- git submodule update --init
- ps: |
if ("$env:APPVEYOR_BUILD_WORKER_IMAGE" -eq "Visual Studio 2017") {
$env:CMAKE_GENERATOR = "Visual Studio 15 2017"
} else {
$env:CMAKE_GENERATOR = "Visual Studio 16 2019"
}
before_build:
- md C:\cpp-oss-template\build
- cd C:\cpp-oss-template\build
- cmake .. -G "%CMAKE_GENERATOR%" -A x64
build:
project: C:\cpp-oss-template\build\cpp-oss-template.sln
parallel: true
verbosity: normal
after_build:
- C:\cpp-oss-template\build\bin\Release\UnitTests.exe