-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
98 lines (85 loc) · 3.61 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# ######################################################################### #
# Georgiev Lab (c) 2015-2017 #
# ######################################################################### #
# Department of Cybernetics #
# Faculty of Applied Sciences #
# University of West Bohemia in Pilsen #
# ######################################################################### #
# #
# This file is part of CeCe. #
# #
# CeCe is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# CeCe is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with CeCe. If not, see <http://www.gnu.org/licenses/>. #
# #
# ######################################################################### #
os: Visual Studio 2015
version: 0.6.0.{build}
environment:
matrix:
- GENERATOR: Visual Studio 14 2015 Win64
DEPLOY: On
PACKAGE: win64
QTDIR: C:\Qt\5.7\msvc2015_64
- GENERATOR: Visual Studio 14 2015
DEPLOY: On
PACKAGE: win32
QTDIR: C:\Qt\5.7\msvc2015
# - GENERATOR: MinGW Makefiles
# DEPLOY: Off
# QTDIR: C:\Qt\5.7\mingw53_32
matrix:
allow_failures:
- GENERATOR: MinGW Makefiles
# Branches to build
branches:
except:
- travis-ci
init:
- ps: >-
if ($env:APPVEYOR_REPO_TAG -eq "true")
{
Update-AppveyorBuild -Version "$env:APPVEYOR_REPO_TAG_NAME"
}
else
{
Update-AppveyorBuild -Version "$env:VERSION-$($env:APPVEYOR_REPO_COMMIT.substring(0,7))"
}
install:
- git submodule update --init --recursive
- SET PATH=%PATH:C:\Program Files\Git\usr\bin;=%
- SET PATH=C:\mingw-w64\i686-5.3.0-posix-dwarf-rt_v4-rev0\mingw32\bin;%PATH%
before_build:
- md build
- pushd build && cmake -G "%GENERATOR%" -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="%QTDIR%" .. & popd
build_script:
- pushd build && cmake --build . --config Release & popd
after_build:
- pushd build && cpack -G ZIP && move /y CeCe-*.zip .. & popd
artifacts:
- name: CeCe
path: CeCe-*.zip
deploy:
- provider: BinTray
username: ntsfka
api_key:
secure: iLOqXHWkZPY0aVN0pqYTyTqoD8+BMC0cT8rqAuPjoUd8BJSdTszxf1KKBau3VsVL
subject: georgievlab
repo: CeCe-gui-ci
version: 0.6.0
package: $(PACKAGE)
publish: true
override: true
on:
branch: master
DEPLOY: On
# ######################################################################### #