forked from Stellarium/stellarium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
71 lines (61 loc) · 1.93 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
version: '{branch}-{build}'
configuration: Release
clone_depth: 5
clone_folder: c:\stellarium
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
platform: x64
qtver: 5.9
qtbin: msvc2015_64
msvcname: Visual Studio 14 2015 Win64
packaging: false
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
platform: Win32
qtver: 5.9
qtbin: msvc2015
msvcname: Visual Studio 14 2015
packaging: false
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
platform: Win32
qtver: 5.12
qtbin: msvc2017
msvcname: Visual Studio 15 2017
packaging: false
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
platform: x64
qtver: 5.12
qtbin: msvc2017_64
msvcname: Visual Studio 15 2017 Win64
packaging: false
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
platform: x64
qtver: 5.13
qtbin: msvc2017_64
msvcname: Visual Studio 15 2017 Win64
packaging: false
before_build:
- cmd: >-
mkdir stellarium-%qtver%-%qtbin%
set INNSPATH=C:\Program Files (x86)\Inno Setup 5
set PATH=C:\Qt\%qtver%\%qtbin%\bin;%INNSPATH%;%PATH%
cd c:\stellarium
mkdir build-%qtver%-%qtbin% && cd build-%qtver%-%qtbin%
cmake -DENABLE_TESTING=1 -DCMAKE_INSTALL_PREFIX=c:\stellarium-%qtver%-%qtbin% -G "%msvcname%" ..
build:
project: c:\stellarium\build-%qtver%-%qtbin%\Stellarium.sln
parallel: true
verbosity: minimal
#after_build:
#- cmd: >-
# if "%packaging%"=="true" ( cmake --build c:\stellarium\build-%qtver%-%qtbin%\ --config Release --target install & cmake --build c:\stellarium\build-%qtver%-%qtbin%\ --config Release --target stellarium-installer )
test_script:
- cmd: ctest --output-on-failure
notifications:
- provider: Email
to:
- mcardinot@gmail.com
- alex.v.wolf@gmail.com
on_build_success: false
on_build_failure: true
on_build_status_changed: true