mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-27 21:24:47 +01:00
44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
version: 11.7.{build}
|
|
|
|
configuration:
|
|
- Release
|
|
|
|
image:
|
|
- Visual Studio 2019
|
|
|
|
environment:
|
|
NSISDIR: C:\Program Files (x86)\NSIS
|
|
OPENSSLDIR: C:\OpenSSL-v111-Win64\bin
|
|
matrix:
|
|
- QTDIR: C:\Qt\5.15\msvc2019_64
|
|
- QTDIR: C:\Qt\6.4\msvc2019_64
|
|
NSISDEF: /DQT6
|
|
|
|
install:
|
|
- cmd: |-
|
|
set PATH=%QTDIR%\bin;%NSISDIR%;%PATH%
|
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat
|
|
|
|
build_script:
|
|
- cmd: |-
|
|
lrelease gpxsee.pro
|
|
qmake gpxsee.pro
|
|
nmake release
|
|
|
|
md installer
|
|
copy release\GPXSee.exe installer
|
|
windeployqt --release installer\GPXSee.exe
|
|
copy pkg\gpxsee64.nsi installer
|
|
xcopy pkg\csv installer\csv /i
|
|
xcopy pkg\maps installer\maps /i
|
|
xcopy lang\*.qm installer\translations\ /sy
|
|
xcopy icons\symbols installer\symbols /i
|
|
copy licence.txt installer
|
|
copy %OPENSSLDIR%\libcrypto-1_1-x64.dll installer
|
|
copy %OPENSSLDIR%\libssl-1_1-x64.dll installer
|
|
|
|
makensis.exe %NSISDEF% installer\gpxsee64.nsi
|
|
|
|
artifacts:
|
|
- path: installer\GPXSee-*.exe
|