forked from CrashRpt/crashrpt2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
52 lines (47 loc) · 1.1 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
version: '{build}'
branches:
only:
- master
- /review\/.+/
clone_folder: c:\projects\crashrpt2
image:
- Visual Studio 2017
- Visual Studio 2015
- Visual Studio 2013
configuration:
- RelWithDebInfo
platform:
- x64
- Win32
environment:
matrix:
- arch: Win32
- arch: Win64
matrix:
exclude:
- platform: x64
arch: Win32
- platform: Win32
arch: Win64
fast_finish: false
init:
- echo %APPVEYOR_BUILD_WORKER_IMAGE%
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" ( set vs=Visual Studio 15 2017)
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" ( set vs=Visual Studio 14 2015)
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2013" ( set vs=Visual Studio 12 2013)
- if "%arch%"=="Win64" ( set generator="%vs% Win64" )
- if "%arch%"=="Win32" ( set generator="%vs%" )
- echo %arch%
- echo %generator%
before_build:
- cmd: |-
mkdir build
cd build
cmake --version
cmake .. -G %generator%
build:
project: c:\projects\crashrpt2\build\CrashRpt.sln
verbosity: minimal
parallel: true
test_script:
- c:\projects\crashrpt2\build\bin\Tests.exe /all