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

Code cleanup

This commit is contained in:
Martin Tůma 2021-10-31 08:15:27 +01:00
parent dcf98ef025
commit d2fbe4324b

View File

@ -8,25 +8,16 @@ image:
environment: environment:
NSISDIR: C:\Program Files (x86)\NSIS NSISDIR: C:\Program Files (x86)\NSIS
OPENSSLDIR: C:\OpenSSL-v111-Win64\bin
matrix: matrix:
- QTDIR: C:\Qt\5.15\msvc2019_64 - QTDIR: C:\Qt\5.15\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
- QTDIR: C:\Qt\6.2\msvc2019_64 - QTDIR: C:\Qt\6.2\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
NSISDEF: /DQT6 NSISDEF: /DQT6
install: install:
- cmd: |- - cmd: |-
set PATH=%QTDIR%\bin;%NSISDIR%;%PATH% set PATH=%QTDIR%\bin;%NSISDIR%;%PATH%
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\"%VCVARS% call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat
build_script: build_script:
- cmd: |- - cmd: |-
@ -37,16 +28,16 @@ build_script:
md installer md installer
copy release\GPXSee.exe installer copy release\GPXSee.exe installer
windeployqt --release installer\GPXSee.exe windeployqt --release installer\GPXSee.exe
copy pkg\%NSI% installer copy pkg\gpxsee64.nsi installer
xcopy pkg\csv installer\csv /i xcopy pkg\csv installer\csv /i
xcopy pkg\maps installer\maps /i xcopy pkg\maps installer\maps /i
xcopy lang\*.qm installer\translations\ /sy xcopy lang\*.qm installer\translations\ /sy
xcopy icons\symbols installer\symbols /i xcopy icons\symbols installer\symbols /i
copy licence.txt installer copy licence.txt installer
copy %OPENSSLDIR%\%LIBCRYPTO% installer copy %OPENSSLDIR%\libcrypto-1_1-x64.dll installer
copy %OPENSSLDIR%\%LIBSSL% installer copy %OPENSSLDIR%\libssl-1_1-x64.dll installer
makensis.exe %NSISDEF% installer\%NSI% makensis.exe %NSISDEF% installer\gpxsee64.nsi
artifacts: artifacts:
- path: installer\GPXSee-*.exe - path: installer\GPXSee-*.exe