-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathappveyor.yml
31 lines (27 loc) · 1014 Bytes
/
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
image: Visual Studio 2017
install:
- choco install -y curl InnoSetup
- set QTDIR=C:\\Qt\\5.9\\msvc2017_64
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
- set PATH=%PATH%;%QTDIR%\\bin;"C:\\Program Files (x86)\\Inno Setup 5"
- qmake -tp vc
build_script:
- qmake magicfountain.pro
- nmake
- mkdir MagicFountain-release
- cp release/magicfountain.exe MagicFountain-release
- windeployqt --compiler-runtime MagicFountain-release/MagicFountain.exe
- iscc -DMyAppVersion=%APPVEYOR_REPO_TAG_NAME% setup.iss
- rename output-release\\setup-MagicFountain.exe setup-MagicFountain-%APPVEYOR_REPO_TAG_NAME%.exe
artifacts:
- path: output-release/setup-MagicFountain-*.exe
name: MagicFountainSetup
deploy:
- provider: GitHub
artifact: MagicFountainSetup
draft: false
prerelease: false
auth_token:
secure: FZ4mi3MDpwe3yKbZxSb/mTxmxz4u13Px4/58qmt6mO72vbt6R6vSoh4/d0TFlswp
on:
appveyor_repo_tag: true