mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 19:55:53 +01:00
55 lines
1.1 KiB
YAML
55 lines
1.1 KiB
YAML
version: 7.13.{build}
|
|
configuration: Release
|
|
platform: Any CPU
|
|
environment:
|
|
NSISDIR: C:\Program Files (x86)\NSIS
|
|
matrix:
|
|
- QTDIR: C:\Qt\5.11\msvc2015
|
|
PLATFORM: x86
|
|
NSI: gpxsee.nsi
|
|
OPENSSLDIR: C:\OpenSSL-Win32\bin
|
|
- QTDIR: C:\Qt\5.11\msvc2015_64
|
|
PLATFORM: x86_amd64
|
|
NSI: gpxsee64.nsi
|
|
OPENSSLDIR: C:\OpenSSL-Win64\bin
|
|
install:
|
|
- cmd: >-
|
|
set PATH=%QTDIR%\bin;%NSISDIR%;%PATH%
|
|
|
|
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %PLATFORM%
|
|
build_script:
|
|
- cmd: >-
|
|
lrelease gpxsee.pro
|
|
|
|
qmake gpxsee.pro
|
|
|
|
nmake release
|
|
|
|
|
|
md installer
|
|
|
|
copy release\GPXSee.exe installer
|
|
|
|
windeployqt --no-svg --release installer\GPXSee.exe
|
|
|
|
copy pkg\%NSI% installer
|
|
|
|
copy pkg\macros.nsh installer
|
|
|
|
xcopy pkg\csv installer\csv /i
|
|
|
|
xcopy pkg\maps installer\maps /i
|
|
|
|
xcopy lang\*.qm installer\translations\ /sy
|
|
|
|
copy licence.txt installer
|
|
|
|
copy %OPENSSLDIR%\libeay32.dll installer
|
|
|
|
copy %OPENSSLDIR%\ssleay32.dll installer
|
|
|
|
|
|
makensis.exe installer\%NSI%
|
|
artifacts:
|
|
- path: installer\GPXSee-*.exe
|