-
Notifications
You must be signed in to change notification settings - Fork 1
/
.appveyor.yml
50 lines (43 loc) · 1.18 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
branches:
only:
- master
- develop
- /^v\d+\.\d+$/
configuration: Release
install:
- set QTDIR=C:\Qt\5.10.1\mingw53_32
- set MINGW=C:\Qt\Tools\mingw530_32
### - choco install innosetup
- ps: Start-FileDownload 'http://www.jrsoftware.org/download.php/is.exe' is.exe
- is.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-
- set PATH=%QTDIR%\bin;%MINGW%\bin;%PATH%;"C:\Program Files (x86)\Inno Setup 5"
build_script:
- git submodule update --init --recursive
- qmake source\dana.pro CONFIG+=release
- mingw32-make
after_build:
- windeployqt release/dana.exe
- cmd: cp LICENSE release/LICENSE.txt
- rm release/*.o
- rm release/*.cpp
- rm release/*.h
- iscc ./installer/installer.iss
artifacts:
- path: Output/dana-*.exe
name: SetupExe
deploy:
provider: GitHub
on:
branch: master
appveyor_repo_tag: true
auth_token:
secure: DsQ/Nv6Df/ryOXUJhBBmDJFwZ6HHGaIauruGGnv4ouuhw9P6necvd8jjKohav/7Y
artifact: SetupExe
draft: false
prerelease: false
tag: $(APPVEYOR_REPO_TAG_NAME)
release: $(APPVEYOR_REPO_TAG_NAME)
description: $(APPVEYOR_REPO_COMMIT_MESSAGE)
### To deploy setup.exe:
### git tag -a v1.3 -m "Version 1.3"
### git push origin v1.3