1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 11:45:53 +01:00
GPXSee/.appveyor.yml

60 lines
1.5 KiB
YAML
Raw Normal View History

2021-10-25 11:32:50 +02:00
version: 9.10.{build}
configuration:
- Release
image:
- Visual Studio 2019
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:
- QTDIR: C:\Qt\5.15\msvc2019
2017-08-15 15:49:28 +02:00
NSI: gpxsee.nsi
2020-01-26 13:07:55 +01:00
VCVARS: vcvars32.bat
OPENSSLDIR: C:\OpenSSL-v111-Win32\bin
LIBCRYPTO: libssl-1_1.dll
LIBSSL: libcrypto-1_1.dll
- QTDIR: C:\Qt\5.15\msvc2019_64
2017-08-15 15:49:28 +02:00
NSI: gpxsee64.nsi
VCVARS: vcvars64.bat
OPENSSLDIR: C:\OpenSSL-v111-Win64\bin
LIBCRYPTO: libssl-1_1-x64.dll
2021-01-09 11:43:59 +01:00
LIBSSL: libcrypto-1_1-x64.dll
- QTDIR: C:\Qt\6.0\msvc2019_64
NSI: gpxsee64.nsi
VCVARS: vcvars64.bat
OPENSSLDIR: C:\OpenSSL-v111-Win64\bin
LIBCRYPTO: libssl-1_1-x64.dll
LIBSSL: libcrypto-1_1-x64.dll
2021-01-09 13:06:31 +01:00
NSISDEF: /DQT6
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: |-
2020-01-26 12:49:47 +01:00
set PATH=%QTDIR%\bin;%NSISDIR%;%PATH%
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\"%VCVARS%
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
nmake release
md installer
copy release\GPXSee.exe installer
2021-04-18 23:49:21 +02:00
windeployqt --release installer\GPXSee.exe
2018-10-09 01:16:34 +02:00
copy pkg\%NSI% installer
copy pkg\macros.nsh installer
2018-02-10 10:26:06 +01:00
xcopy pkg\csv installer\csv /i
2018-01-30 00:10:43 +01:00
xcopy pkg\maps installer\maps /i
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
copy %OPENSSLDIR%\%LIBCRYPTO% installer
copy %OPENSSLDIR%\%LIBSSL% installer
2017-08-15 15:49:28 +02:00
2021-01-09 13:06:31 +01:00
makensis.exe %NSISDEF% installer\%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