1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-12-05 00:39:09 +01:00
GPXSee/.appveyor.yml
2023-05-07 21:19:55 +02:00

44 lines
1.1 KiB
YAML

version: 13.2.{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\windows\gpxsee64.nsi installer
xcopy data\CRS installer\CRS /i
xcopy data\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