-
Notifications
You must be signed in to change notification settings - Fork 19
/
.appveyor.yml
60 lines (52 loc) · 2.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
version: '1.4.1-{build}'
skip_commits:
author: /transifex/
environment:
matrix:
- BUILD: mingw32
QTDIR: C:\Qt\5.15\mingw81_32
MINGW_DIR: C:\Qt\Tools\mingw810_32
PRO_MAKE: mingw32-make
DEPLOYQT_FLAGS: --no-angle
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
- BUILD: mingw64_Qt6
QTDIR: C:\Qt\6.5\mingw_64
MINGW_DIR: C:\Qt\Tools\mingw1120_64
PRO_MAKE: mingw32-make
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
- BUILD: msvc2019_64
QTDIR: C:\Qt\5.15\msvc2019_64
PRO_MAKE: nmake
DEPLOYQT_FLAGS: --release --no-angle
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
- BUILD: mingw32_reactos
QTDIR: C:\Qt\5.6\mingw49_32
MINGW_DIR: C:\Qt\Tools\mingw492_32
PRO_MAKE: mingw32-make
DEPLOYQT_FLAGS: --release --no-angle
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
install:
- set PATH=%QTDIR%\bin;%MINGW_DIR%\bin;%PATH%
- if %BUILD%==msvc2019_64 call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
configuration: Release
before_build:
- qmake iqpuzzle.pro
- lrelease iqpuzzle.pro
build_script:
- '%PRO_MAKE%'
after_build:
- mkdir iQPuzzle\boards
- copy release\iQPuzzle.exe iQPuzzle\iQPuzzle.exe
- windeployqt %DEPLOYQT_FLAGS% --no-translations --no-opengl-sw iQPuzzle\iQPuzzle.exe
- copy COPYING iQPuzzle\
- curl -fsSL -o ReadMe.txt https://raw.githubusercontent.com/ElTh0r0/iqpuzzle/packaging/Windows/ReadMe.txt
- copy ReadMe.txt iQPuzzle\
- xcopy /i /e /s data\boards\* iQPuzzle\boards\
- 7z a iQPuzzle-%APPVEYOR_BUILD_VERSION%-Windows_%BUILD%.zip .\iQPuzzle\
- curl -fsSL -o iqpuzzle.nsi https://raw.githubusercontent.com/ElTh0r0/iqpuzzle/packaging/Windows/iqpuzzle.nsi
- curl -fsSL -o iqpuzzle.ico https://raw.githubusercontent.com/ElTh0r0/iqpuzzle/packaging/Windows/iqpuzzle.ico
- makensis iqpuzzle.nsi
- ren iQPuzzle_Installer.exe iQPuzzle-%APPVEYOR_BUILD_VERSION%-Windows_%BUILD%.exe
artifacts:
- path: iQPuzzle-%APPVEYOR_BUILD_VERSION%-Windows_%BUILD%.zip
- path: iQPuzzle-%APPVEYOR_BUILD_VERSION%-Windows_%BUILD%.exe