forked from openstreetmap/merkaartor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
30 lines (29 loc) · 1.04 KB
/
.drone.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# This is a build file to tea-ci.org (fork of drone with msys2 support)
clone:
tags: true
depth: 200
branches:
- master
- tea-ci
build:
image: teaci/msys$$arch
pull: true
shell: mingw$$arch
environment:
- BINTRAY_TOKEN=$$BINTRAY_TOKEN
commands:
- if [ $$arch = 32 ]; then target=i686; fi
- if [ $$arch = 64 ]; then target=x86_64; fi
- wget http://stuff.krakonos.org/upload && chmod +x upload
- pacman -S --noconfirm --needed --noprogressbar unzip curl mingw-w64-${target}-nsis mingw-w64-${target}-qt5 mingw-w64-${target}-gdal mingw-w64-${target}-proj mingw-w64-${target}-openjpeg2 mingw-w64-${target}-json-c msys/perl-common-sense
- pacman -S --noconfirm --needed --noprogressbar mingw-w64-${target}-netcdf mingw-w64-${target}-nspr mingw-w64-${target}-nss mingw-w64-${target}-postgresql
- qmake -r
- make -j8 release
- lrelease src/src.pro
- sh windows/copydeps.sh
- makensis.exe windows/installer.nsi
- windows/upload-to-bintray.pl windows/merkaartor-*.exe
matrix:
arch:
- 64
- 32