Squashed commit of the following:
[GPXSee.git] / .appveyor.yml
blobfd27f5edbe266286c72d3610e0c343ca5f652b23
1 version: 6.0.{build}\r
2 configuration: Release\r
3 platform: Any CPU\r
4 environment:\r
5   NSISDIR: C:\Program Files (x86)\NSIS\r
6   matrix:\r
7   - QTDIR: C:\Qt\5.11\msvc2015\r
8     PLATFORM: x86\r
9     NSI: gpxsee.nsi\r
10     OPENSSLDIR: C:\OpenSSL-Win32\bin\r
11   - QTDIR: C:\Qt\5.11\msvc2015_64\r
12     PLATFORM: x86_amd64\r
13     NSI: gpxsee64.nsi\r
14     OPENSSLDIR: C:\OpenSSL-Win64\bin\r
15 install:\r
16 - cmd: >-\r
17     set PATH=%QTDIR%\bin;%NSISDIR%;%PATH%\r
19     call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %PLATFORM%\r
20 build_script:\r
21 - cmd: >-\r
22     lrelease gpxsee.pro\r
24     qmake gpxsee.pro\r
26     nmake release\r
29     md installer\r
31     copy release\GPXSee.exe installer\r
33     windeployqt --no-svg --release installer\GPXSee.exe\r
35     copy pkg\%NSI% installer\r
37     xcopy pkg\csv installer\csv /i\r
39     xcopy pkg\maps installer\maps /i\r
41     xcopy lang\*.qm installer\translations\ /sy\r
43     copy licence.txt installer\r
45     copy %OPENSSLDIR%\libeay32.dll installer\r
47     copy %OPENSSLDIR%\ssleay32.dll installer\r
50     makensis.exe installer\%NSI%\r
51 artifacts:\r
52 - path: installer\GPXSee-*.exe\r