forked from mmatyas/pegasus-frontend
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.appveyor.yml
52 lines (42 loc) · 1.19 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
52
version: 0.0.{build}
pull_requests:
do_not_increment_build_number: true
os: Visual Studio 2019
platform:
- x86
environment:
matrix:
- flavor: msvc
QTDIR: C:\Qt\5.15\msvc2019_64
MAKE: "nmake /NOLOGO"
init:
- if %flavor%==mingw set PATH=C:\Qt\Tools\mingw530_32\bin;%PATH%
- set PATH=%QTDIR%\bin;%PATH%
- set PEGASUS_HOME=C:\hello\world
before_build:
- call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
- git submodule update --init
build_script:
- md build
- cd build
- qmake ..
- "%MAKE%"
- "%MAKE% check"
- "%MAKE% install"
- windeployqt
--release
--plugindir C:\pegasus-frontend\lib
--qmldir ..
--no-translations
--no-opengl-sw
C:\pegasus-frontend
- md C:\pegasus-frontend\lib\qml
- ps: Get-ChildItem C:\pegasus-frontend -Filter 'Qt*' -Directory |
Move-Item -Destination C:\pegasus-frontend\lib\qml
- copy ..\README.md C:\pegasus-frontend
- copy ..\LICENSE.md C:\pegasus-frontend
- git describe --always > tmp_out.txt
- set /p SUFFIX=<tmp_out.txt
- 7z a pegasus-fe_%SUFFIX%_win-%flavor%.zip C:\pegasus-frontend
artifacts:
- path: build\pegasus-fe_*.zip