2020-11-23 22:28:11 +01:00
|
|
|
version: 7.37.{build}
|
2020-01-26 12:55:46 +01:00
|
|
|
|
|
|
|
configuration:
|
|
|
|
- Release
|
|
|
|
|
|
|
|
image:
|
|
|
|
- Visual Studio 2017
|
|
|
|
|
2017-08-15 15:49:28 +02:00
|
|
|
environment:
|
2020-01-26 12:02:30 +01:00
|
|
|
NSISDIR: C:\Program Files (x86)\NSIS
|
2017-08-15 15:49:28 +02:00
|
|
|
matrix:
|
2020-01-26 13:13:34 +01:00
|
|
|
- QTDIR: C:\Qt\5.13\msvc2017
|
2017-08-15 15:49:28 +02:00
|
|
|
NSI: gpxsee.nsi
|
2020-01-26 13:07:55 +01:00
|
|
|
VCVARS: vcvars32.bat
|
2020-01-26 11:27:48 +01:00
|
|
|
OPENSSLDIR: C:\OpenSSL-v111-Win32\bin
|
|
|
|
LIBCRYPTO: libssl-1_1.dll
|
|
|
|
LIBSSL: libcrypto-1_1.dll
|
2020-01-26 13:13:34 +01:00
|
|
|
- QTDIR: C:\Qt\5.13\msvc2017_64
|
2017-08-15 15:49:28 +02:00
|
|
|
NSI: gpxsee64.nsi
|
2020-02-03 23:18:00 +01:00
|
|
|
VCVARS: vcvars64.bat
|
2020-01-26 11:27:48 +01:00
|
|
|
OPENSSLDIR: C:\OpenSSL-v111-Win64\bin
|
|
|
|
LIBCRYPTO: libssl-1_1-x64.dll
|
2020-01-26 12:33:15 +01:00
|
|
|
LIBSSL: libcrypto-1_1-x64.dll
|
2017-08-15 15:58:23 +02:00
|
|
|
|
2020-01-26 12:39:38 +01:00
|
|
|
install:
|
2020-01-26 12:49:47 +01:00
|
|
|
- cmd: >-
|
|
|
|
set PATH=%QTDIR%\bin;%NSISDIR%;%PATH%
|
|
|
|
|
2020-01-26 13:07:55 +01:00
|
|
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\"%VCVARS%
|
2020-01-26 11:40:38 +01:00
|
|
|
|
2017-08-15 15:49:28 +02:00
|
|
|
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
|
|
|
|
2018-10-09 01:16:34 +02:00
|
|
|
copy pkg\%NSI% installer
|
|
|
|
|
|
|
|
copy pkg\macros.nsh 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
|
|
|
|
2020-01-26 11:27:48 +01:00
|
|
|
copy %OPENSSLDIR%\%LIBCRYPTO% installer
|
2018-10-09 01:16:34 +02:00
|
|
|
|
2020-01-26 11:27:48 +01:00
|
|
|
copy %OPENSSLDIR%\%LIBSSL% installer
|
2017-08-15 15:49:28 +02:00
|
|
|
|
2017-08-15 15:58:23 +02:00
|
|
|
|
2017-08-15 15:49:28 +02:00
|
|
|
makensis.exe installer\%NSI%
|
|
|
|
artifacts:
|
2020-01-26 11:40:38 +01:00
|
|
|
- path: installer\GPXSee-*.exe
|