1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-30 22:51:16 +01:00

A more human yaml syntax

This commit is contained in:
Martin Tůma 2021-08-04 23:51:24 +02:00
parent 933f2c3837
commit 0c4e5b0017

View File

@ -30,43 +30,29 @@ environment:
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\"%VCVARS%
build_script: build_script:
- cmd: >- - cmd: |-
lrelease gpxsee.pro lrelease gpxsee.pro
qmake gpxsee.pro qmake gpxsee.pro
nmake release nmake release
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\%NSI% installer
copy pkg\macros.nsh installer copy pkg\macros.nsh 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
copy licence.txt installer copy licence.txt installer
copy %OPENSSLDIR%\%LIBCRYPTO% installer copy %OPENSSLDIR%\%LIBCRYPTO% installer
copy %OPENSSLDIR%\%LIBSSL% installer copy %OPENSSLDIR%\%LIBSSL% installer
makensis.exe %NSISDEF% installer\%NSI% makensis.exe %NSISDEF% installer\%NSI%
artifacts: artifacts:
- path: installer\GPXSee-*.exe - path: installer\GPXSee-*.exe