-
Notifications
You must be signed in to change notification settings - Fork 4
/
appveyor.yml
42 lines (32 loc) · 849 Bytes
/
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
version: 0.4 ({build})
skip_branch_with_pr: true
image:
- Visual Studio 2017
- Visual Studio 2019
platform:
- x64
matrix:
fast_finish: true
configuration:
- Release
clone_folder: C:\BabaIsAgent
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"
}
$env:PYTHON = "36-x64"
$env:PATH = "C:\Python$env:PYTHON\;C:\Python$env:PYTHON\Scripts;$env:PATH"
before_build:
- md C:\BabaIsAgent\build
- cd C:\BabaIsAgent\build
- cmake .. -G "%CMAKE_GENERATOR%" -A x64
build:
project: C:\BabaIsAgent\build\BabaIsAgent.sln
parallel: true
verbosity: normal
after_build:
- C:\BabaIsAgent\build\bin\Release\UnitTest.exe