-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathappveyor.yml
56 lines (44 loc) · 1.07 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
#---------------------------------#
# environment configuration #
#---------------------------------#
notifications:
- provider: Webhook
url: https://webhooks.gitter.im/e/cec723c4f8dbc9aac4bb
method: GET
on_build_success: false
on_build_failure: true
on_build_status_changed: true
# Build worker image (VM template)
image:
- Visual Studio 2015
- Visual Studio 2017
clone_depth: 3
platform:
- Win32
- x64
configuration:
- Debug
- Release
matrix:
fast_finish: true
# scripts that are called at very beginning, before repo cloning
init:
- cmd: cmake --version
- cmd: msbuild /version
install:
- git submodule update --init --recursive
before_build:
- mkdir build
- cd build
- if "%platform%"=="Win32" set CMAKE_GENERATOR_NAME=Visual Studio 14 2015
- if "%platform%"=="x64" set CMAKE_GENERATOR_NAME=Visual Studio 14 2015 Win64
- cmake -G "%CMAKE_GENERATOR_NAME%" ..
- cd ..
build:
project: build/Worldstone.sln
parallel: true
verbosity: minimal
test_script:
- cd build
- ctest -VV -C %configuration% .
- cd ..