-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
44 lines (34 loc) · 1.1 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
image: 'Visual Studio 2017'
version: v1.0.{build}-beta
branches:
only:
- master
environment:
QTDIR: C:\Qt\5.12\msvc2017_64
#clone_folder: c:\build\snomcontrol
before_build:
- set PATH=%QTDIR%\bin;%PATH%
build_script:
- mkdir build
- cd build
- cmake -G"Visual Studio 15 2017 Win64" -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=%QTDIR% -DCMAKE_INSTALL_PREFIX:PATH=snomcontrol ..
- cmake --build . --config Release --target install
- dir
after_build:
- windeployqt.exe snomcontrol/bin/snomcontrol.exe
- copy ..\data\Install.bat snomcontrol\
- copy ..\data\snomcontrol.reg snomcontrol\
- copy ..\data\excludes.txt snomcontrol\
# - 7z a snomcontrol-%APPVEYOR_BUILD_VERSION%-%APPVEYOR_REPO_COMMIT%.zip snomcontrol
- 7z a snomcontrol-win-%APPVEYOR_REPO_COMMIT%.zip snomcontrol
- mv snomcontrol*.zip ..\
artifacts:
- path: snomcontrol*.zip
deploy:
description: snomcontrol-$(appveyor_build_version)
provider: GitHub
auth_token:
secure: sclzWVQ+Anp02CdSbYJWOy5t+q75nOlkMH9yNToCCjL1fhO1ujYc2Boa3c2DF4aU
artifact: /snomcontrol.*.zip/
draft: false
prerelease: true