2018-07-21 18:20:48 +02:00
|
|
|
version: 5.16.{build}
|
2017-08-15 15:49:28 +02:00
|
|
|
configuration: Release
|
|
|
|
platform: Any CPU
|
|
|
|
environment:
|
|
|
|
NSISDIR: C:\Program Files (x86)\NSIS
|
|
|
|
matrix:
|
|
|
|
- QTDIR: C:\Qt\5.9\msvc2015
|
|
|
|
PLATFORM: x86
|
|
|
|
NSI: gpxsee.nsi
|
|
|
|
OPENSSLDIR: C:\OpenSSL-Win32\bin
|
|
|
|
- QTDIR: C:\Qt\5.9\msvc2015_64
|
|
|
|
PLATFORM: x86_amd64
|
|
|
|
NSI: gpxsee64.nsi
|
|
|
|
OPENSSLDIR: C:\OpenSSL-Win64\bin
|
|
|
|
install:
|
|
|
|
- cmd: >-
|
|
|
|
set PATH=%QTDIR%\bin;%NSISDIR%;%PATH%
|
2017-08-15 15:58:23 +02:00
|
|
|
|
2017-08-15 15:49:28 +02:00
|
|
|
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %PLATFORM%
|
|
|
|
build_script:
|
|
|
|
- cmd: >-
|
|
|
|
lrelease gpxsee.pro
|
2017-08-15 15:58:23 +02:00
|
|
|
|
2017-08-15 15:49:28 +02:00
|
|
|
qmake gpxsee.pro
|
2017-08-15 15:58:23 +02:00
|
|
|
|
2017-08-15 15:49:28 +02:00
|
|
|
nmake release
|
|
|
|
|
2017-08-15 15:58:23 +02:00
|
|
|
|
2017-08-15 15:49:28 +02:00
|
|
|
md installer
|
2017-08-15 15:58:23 +02:00
|
|
|
|
2017-08-15 15:49:28 +02:00
|
|
|
copy release\GPXSee.exe installer
|
2017-08-15 15:58:23 +02:00
|
|
|
|
2017-08-15 15:49:28 +02:00
|
|
|
windeployqt --no-svg --release installer\GPXSee.exe
|
2017-08-15 15:58:23 +02:00
|
|
|
|
2017-08-15 15:49:28 +02:00
|
|
|
copy pkg\%NSI% installer
|
2017-08-15 15:58:23 +02:00
|
|
|
|
2018-02-10 10:26:06 +01:00
|
|
|
xcopy pkg\csv installer\csv /i
|
2018-01-20 20:13:56 +01:00
|
|
|
|
2018-01-30 00:10:43 +01:00
|
|
|
xcopy pkg\maps installer\maps /i
|
2018-02-09 00:11:06 +01:00
|
|
|
|
2018-02-09 21:04:37 +01:00
|
|
|
xcopy lang\*.qm installer\translations\ /sy
|
2017-08-15 15:58:23 +02:00
|
|
|
|
2017-08-15 15:49:28 +02:00
|
|
|
copy licence.txt installer
|
2017-08-15 15:58:23 +02:00
|
|
|
|
2017-08-15 15:49:28 +02:00
|
|
|
copy %OPENSSLDIR%\libeay32.dll installer
|
2017-08-15 15:58:23 +02:00
|
|
|
|
2017-08-15 15:49:28 +02:00
|
|
|
copy %OPENSSLDIR%\ssleay32.dll installer
|
|
|
|
|
2017-08-15 15:58:23 +02:00
|
|
|
|
2017-08-15 15:49:28 +02:00
|
|
|
makensis.exe installer\%NSI%
|
|
|
|
artifacts:
|
2018-01-08 23:47:45 +01:00
|
|
|
- path: installer\GPXSee-*.exe
|