forked from jimevins/glabels-qt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.appveyor.yml
51 lines (40 loc) · 1.04 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
# Build glabels windows installer.
#
# Currently, only builds snapshots and is truggered by the travis CI AppImage build, which
# moves the "continuous" release/tag to head. This script deploys into this moved release.
version: 3.99.0.{build}
branches:
# blacklist
except:
- /.*/
# whitelist
only:
- master
skip_non_tags: true
image: Visual Studio 2017
init:
- git config --global core.autocrlf true
install:
- set QTDIR=c:\Qt\5.11\msvc2017_64
- set PATH=%PATH%;%QTDIR%/bin
build_script:
- mkdir build
- cd build
- cmake -G "Visual Studio 15 2017 Win64" -DCMAKE_PREFIX_PATH=%QTDIR% ..
- cmake --build . --config Release
- ctest -C Release
- cpack -C Release -G NSIS64
artifacts:
- path: build\glabels-3.99.0-win64.exe
name: windows-installer
deploy:
- provider: GitHub
release: continuous
artifact: windows-installer
auth_token:
secure: mPNNgwWP58gu4eA2wVwGkGWNTzJigKj1g/XjsZ9vk03rLMmf5fxC/XNr15fPBCi8
draft: false
prerelease: true
force_update: true
on:
branch: master