2024-09-24 08:14:40 +02:00
|
|
|
version: 13.27.{build}
|
2020-01-26 12:55:46 +01:00
|
|
|
|
|
|
|
configuration:
|
|
|
|
- Release
|
|
|
|
|
|
|
|
image:
|
2023-07-06 10:07:13 +02:00
|
|
|
- Visual Studio 2022
|
2020-01-26 12:55:46 +01:00
|
|
|
|
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-12-22 22:09:09 +01:00
|
|
|
- QTDIR: C:\Qt\5.15\msvc2019_64
|
2023-09-14 23:32:35 +02:00
|
|
|
OPENSSLDIR: C:\OpenSSL-v111-Win64\bin
|
2024-01-21 12:26:04 +01:00
|
|
|
NSISDEF: /DOPENSSL /DANGLE
|
2024-04-19 20:19:47 +02:00
|
|
|
- QTDIR: C:\Qt\6.7\msvc2019_64
|
2024-09-24 08:28:41 +02:00
|
|
|
OPENSSLDIR: C:\OpenSSL-v33-Win64\bin
|
2024-01-21 12:26:04 +01:00
|
|
|
NSISDEF: /DQT6 /DOPENSSL
|
2017-08-15 15:58:23 +02:00
|
|
|
|
2020-01-26 12:39:38 +01:00
|
|
|
install:
|
2021-08-04 23:51:24 +02:00
|
|
|
- cmd: |-
|
2024-09-24 10:52:05 +02:00
|
|
|
set PATH=%QTDIR%\bin;%NSISDIR%;%PATH%
|
2023-07-06 10:19:26 +02:00
|
|
|
call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat
|
2020-01-26 11:40:38 +01:00
|
|
|
|
2017-08-15 15:49:28 +02:00
|
|
|
build_script:
|
2021-08-04 23:51:24 +02:00
|
|
|
- cmd: |-
|
2017-08-15 15:49:28 +02:00
|
|
|
lrelease gpxsee.pro
|
|
|
|
qmake gpxsee.pro
|
2024-09-24 10:52:05 +02:00
|
|
|
nmake release
|
2017-08-15 15:49:28 +02:00
|
|
|
|
|
|
|
md installer
|
|
|
|
copy release\GPXSee.exe installer
|
2021-04-18 23:49:21 +02:00
|
|
|
windeployqt --release installer\GPXSee.exe
|
2023-01-23 23:11:05 +01:00
|
|
|
copy pkg\windows\gpxsee64.nsi installer
|
2023-04-14 00:17:55 +02:00
|
|
|
xcopy data\CRS installer\CRS /i
|
2023-01-26 01:51:46 +01:00
|
|
|
xcopy data\maps installer\maps /i
|
2018-02-09 21:04:37 +01:00
|
|
|
xcopy lang\*.qm installer\translations\ /sy
|
2021-10-10 12:44:49 +02:00
|
|
|
xcopy icons\symbols installer\symbols /i
|
2017-08-15 15:49:28 +02:00
|
|
|
copy licence.txt installer
|
2024-01-21 12:01:27 +01:00
|
|
|
copy %OPENSSLDIR%\libcrypto-*-x64.dll installer
|
|
|
|
copy %OPENSSLDIR%\libssl-*-x64.dll installer
|
2017-08-15 15:49:28 +02:00
|
|
|
|
2021-10-31 08:15:27 +01:00
|
|
|
makensis.exe %NSISDEF% installer\gpxsee64.nsi
|
2021-08-04 23:51:24 +02:00
|
|
|
|
2017-08-15 15:49:28 +02:00
|
|
|
artifacts:
|
2020-01-26 11:40:38 +01:00
|
|
|
- path: installer\GPXSee-*.exe
|