-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
32 lines (26 loc) · 1.05 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
version: 1.1.{build}
pull_requests:
do_not_increment_build_number: true
skip_non_tags: true
image: Visual Studio 2013
environment:
QT_DIR: C:\Qt\5.8\mingw53_32
MINGW_DIR: C:\Qt\Tools\mingw530_32
configuration:
- release
- debug
# Fix line endings on Windows
init:
- git config --global core.autocrlf true
install:
- set PATH=%MINGW_DIR%\bin;%QT_DIR%\bin;c:\msys64\mingw32\bin;%WIX%\bin;%PATH%
build_script:
- qmake CONFIG+=%CONFIGURATION%
- mingw32-make -f Makefile.%CONFIGURATION%
- windeployqt.exe --no-svg --no-angle --no-opengl-sw --no-system-d3d-compiler --no-translations --libdir qtredist --plugindir qtredist %CONFIGURATION%\hv-ms735-config.exe
- heat dir qtredist -cg CG_QtRedist -var var.QtRedistDir -ag -srd -sfrag -dr INSTALLDIR -out qtredist.wxs
- candle -dConfiguration=%CONFIGURATION% -dQtRedistDir=qtredist hv-ms735-config.wxs qtredist.wxs
- light hv-ms735-config.wixobj qtredist.wixobj -out %CONFIGURATION%\hv-ms735-config.msi
artifacts:
- path: '%CONFIGURATION%\hv-ms735-config.msi'
name: windows-installer