forked from camrein/EzGraver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
44 lines (38 loc) · 1.59 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
environment:
matrix:
- arch: x64
QT_DIR: C:\Qt\5.7\msvc2015_64
- arch: x86
QT_DIR: C:\Qt\5.7\msvc2015
install:
- set PATH=%PATH%;%QT_DIR%\bin
# TODO descide Decide whether vcredist_$(arch).exe should be packaged with the application or published separately.
# - set VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC
before_build:
- set EZ_VERSION=%APPVEYOR_REPO_TAG_NAME%
- cd EzGraverCli & qmake -config release -tp vc -spec win32-msvc2015 EzGraverCli.pro & cd ..
- cd EzGraverCore & qmake -config release -tp vc -spec win32-msvc2015 EzGraverCore.pro & cd ..
- cd EzGraverUi & qmake -config release -tp vc -spec win32-msvc2015 EzGraverUi.pro & cd ..
- qmake -config release -tp vc -spec win32-msvc2015 EzGraver.pro
configuration:
- Release
after_build:
- mkdir deploy
- copy EzGraverCli\release\EzGraverCli.exe deploy\EzGraverCli.exe
- copy EzGraverCore\release\EzGraverCore.dll deploy\EzGraverCore.dll
- copy EzGraverUi\release\EzGraverUi.exe deploy\EzGraverUi.exe
- windeployqt --release --no-translations --no-angle --no-opengl-sw deploy/EzGraverCli.exe
- windeployqt --release --no-translations --no-angle --no-opengl-sw deploy/EzGraverCore.dll
- windeployqt --release --no-translations --no-angle --no-opengl-sw deploy/EzGraverUi.exe
- 7z a EzGraver_win_%arch%.zip .\deploy\*
artifacts:
- path: EzGraver_win_$(arch).zip
deploy:
provider: GitHub
auth_token:
secure: kQ5w9sYhOflgqli0RP05IzEMc946SuYcK7nyhsOivYd5MoC6QLgg9tknjt8ALkTn
artifact: EzGraver_win_$(arch).zip
draft: false
prerelease: false
on:
appveyor_repo_tag: true