forked from docsteer/sacnview
-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
68 lines (51 loc) · 1.6 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
#---------------------------------#
# general configuration #
#---------------------------------#
# branches to build
#branches:
# # whitelist
# only:
# - master
# Start builds on tags only
#skip_non_tags: true
# Build worker image (VM template)
image: Visual Studio 2015
#---------------------------------#
# build configuration #
#---------------------------------#
environment:
matrix:
- QT_Ver: 5.9
- QT_Ver: 5.6
# build platform, i.e. x86, x64, Any CPU. This setting is optional.
platform: x86
# build Configuration, i.e. Debug, Release, etc.
configuration: Release
build:
parallel: true # enable MSBuild parallel builds
# MSBuild verbosity level
verbosity: detailed
init:
- appveyor UpdateBuild -Version %APPVEYOR_REPO_COMMIT%
install:
# Submodules
- git submodule update --init --recursive
# MSVC Paths
# https://www.appveyor.com/docs/lang/cpp/#visual-studio
- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86
# QT Paths
# https://www.appveyor.com/docs/build-environment/#qt
- set QTDIR=C:\Qt\%QT_Ver%\msvc2015
- set PATH=%PATH%;%QTDIR%\bin
# NSIS Paths
# https://www.appveyor.com/docs/build-environment/#tools
- set PATH=%PATH%;C:\Program Files (x86)\NSIS
# NSIS Plugin (SimpleFC)
- appveyor DownloadFile http://nsis.sourceforge.net/mediawiki/images/d/d7/NSIS_Simple_Firewall_Plugin_1.20.zip
- 7z e NSIS_Simple_Firewall_Plugin_1.20.zip -o"C:\Program Files (x86)\NSIS\Plugins\x86-ansi" SimpleFC.dll
build_script:
- qmake
- nmake
artifacts:
- path: install\win\*.exe
- path: release\*.pdb