-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
57 lines (45 loc) · 1.15 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
#---------------------------------#
# general configuration #
#---------------------------------#
# version format
version: 1.0.{build}
# you can use {branch} name in version format too
# version: 1.0.{build}-{branch}
# branches to build
#branches:
# whitelist
#only:
# - master
skip_commits:
files:
- README.md
- .travis.yml
clone_folder: c:\projects\facade
image:
- Visual Studio 2017
configuration:
- Release
platform:
- x64
environment:
matrix:
- arch: Win64
init:
- echo %arch%
- echo %APPVEYOR_BUILD_WORKER_IMAGE%
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" ( set generator="Visual Studio 15 2017 %arch%" )
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" ( set generator="Visual Studio 14 2015 %arch%" )
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2013" ( set generator="Visual Studio 12 2013 %arch%" )
- echo %generator%
before_build:
- git submodule update --init --recursive
- mkdir build
- cd build
- cmake --version
- cmake .. -G %generator%
- cd ..
build:
project: c:\projects\facade\build\facade.sln
parallel: true
test_script:
- cmd: build\facade_test\Release\facade_test.exe