-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.appveyor.yml
40 lines (31 loc) · 903 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
branches:
only:
- master
image:
- Visual Studio 2013
- Visual Studio 2015
- Visual Studio 2017
clone_folder: c:\projects\SW
shallow_clone: true
matrix:
fast_finish: true
platform:
- x64
- x86
configuration:
- Debug
- Release
init:
- set arch=
- if "%PLATFORM%"=="x64" ( set arch= Win64)
- 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%" )
before_build:
- mkdir build
- cd build
- cmake .. -G %generator%
build:
project: build\ALL_BUILD.vcxproj
test_script:
- tests\%CONFIGURATION%\test_SW