-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
35 lines (32 loc) · 1.38 KB
/
.gitlab-ci.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
31
32
33
34
buildstable:
stage: build
variables:
DEBIAN_FRONTEND: "noninteractive"
GIT_SUBMODULE_STRATEGY: recursive
GIT_BASE: https://gitlab-ci-token:${CI_JOB_TOKEN}@gl.zz.de
script:
- apt-get update && apt-get -fuy install git
- git clone ${GIT_BASE}/mirror/libosmium && git -C libosmium checkout -b build fd106ff08d8774e065e3ff0d505c91e540ff1d2c
- git clone ${GIT_BASE}/mirror/nlohmann-json json && git -C json checkout -b build v3.10.1
- git clone ${GIT_BASE}/mirror/protozero && git -C protozero checkout -b build 23d48fd2a441c6e3b2852ff84a0ba398e48f74be
- apt-get update
- apt-get install -fuy build-essential cmake cmake-data libboost-all-dev libspatialindex-dev libgdal-dev libbz2-dev libexpat1-dev
- mkdir build
- ( cd build ; cmake .. )
- make -C build
buildlatestdep:
stage: build
variables:
DEBIAN_FRONTEND: "noninteractive"
GIT_SUBMODULE_STRATEGY: recursive
GIT_BASE: https://gitlab-ci-token:${CI_JOB_TOKEN}@gl.zz.de
script:
- apt-get update && apt-get -fuy install git
- git clone ${GIT_BASE}/mirror/libosmium
- git clone ${GIT_BASE}/mirror/nlohmann-json json
- git clone ${GIT_BASE}/mirror/protozero
- apt-get update
- apt-get install -fuy build-essential cmake cmake-data libboost-all-dev libspatialindex-dev libgdal-dev libbz2-dev libexpat1-dev
- mkdir build
- ( cd build ; cmake .. )
- make -C build