Version++
[GPXSee.git] / .appveyor.yml
blob93cacb4cd804258417ddc6fbb63ea927593c65d1
1 version: 13.13.{build}\r
2 \r
3 configuration:\r
4   - Release\r
5 \r
6 image:\r
7   - Visual Studio 2022\r
8 \r
9 environment:\r
10   NSISDIR: C:\Program Files (x86)\NSIS\r
11   matrix:\r
12   - QTDIR: C:\Qt\5.15\msvc2019_64\r
13     OPENSSLDIR: C:\OpenSSL-v111-Win64\bin\r
14     OPENSSLVERSION: 1_1\r
15   - QTDIR: C:\Qt\6.5\msvc2019_64\r
16     OPENSSLDIR: C:\OpenSSL-v30-Win64\bin\r
17     OPENSSLVERSION: 3\r
18     NSISDEF: /DQT6\r
20 install:\r
21 - cmd: |-\r
22     set PATH=%QTDIR%\bin;%NSISDIR%;%PATH%\r
23     call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat\r
25 build_script:\r
26 - cmd: |-\r
27     lrelease gpxsee.pro\r
28     qmake gpxsee.pro\r
29     nmake release\r
31     md installer\r
32     copy release\GPXSee.exe installer\r
33     windeployqt --release installer\GPXSee.exe\r
34     copy pkg\windows\gpxsee64.nsi installer\r
35     xcopy data\CRS installer\CRS /i\r
36     xcopy data\maps installer\maps /i\r
37     xcopy lang\*.qm installer\translations\ /sy\r
38     xcopy icons\symbols installer\symbols /i\r
39     copy licence.txt installer\r
40     copy %OPENSSLDIR%\libcrypto-%OPENSSLVERSION%-x64.dll installer\r
41     copy %OPENSSLDIR%\libssl-%OPENSSLVERSION%-x64.dll installer\r
43     makensis.exe %NSISDEF% installer\gpxsee64.nsi\r
45 artifacts:\r
46 - path: installer\GPXSee-*.exe\r