-
-
Notifications
You must be signed in to change notification settings - Fork 54
/
.gitlab-ci.yml
70 lines (67 loc) · 1.96 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# SPDX-FileCopyrightText: None
# SPDX-License-Identifier: CC0-1.0
include:
- project: sysadmin/ci-utilities
file:
- /gitlab-templates/linux-qt6.yml
- /gitlab-templates/freebsd-qt6.yml
- /gitlab-templates/windows-qt6.yml
- /gitlab-templates/flatpak.yml
- /gitlab-templates/clang-format.yml
# Manual job for building of maps.kde.org binaries
maps-kde-org-binaries:
stage: build
image: ubuntu:22.04
tags:
- Linux
when: manual
script:
- export DEBIAN_FRONTEND=noninteractive
- export DEBCONF_NONINTERACTIVE_SEEN=true
- apt-get update && apt-get -y install
cmake
g++
git
libboost-program-options-dev
libmapnik-dev
libprotobuf-dev
libshp-dev
protobuf-compiler
qtbase6-dev
- tools/vectorosm-tilecreator/setup/build/build-tilegenerator.sh
artifacts:
expire_in: 1 week
when: on_success
paths:
- build/tools/vectorosm-tilecreator/marble-vectorosm-tirex-backend
- build/tools/vectorosm-tilecreator/marble-vectorosm-process-land-polygons
- build/tools/vectorosm-tilecreator/marble-vectorosm-tilecreator
# Manual job for building OSMX for maps.kde.org
maps-kde-org-osmx:
stage: build
image: ubuntu:22.04
tags:
- Linux
when: manual
script:
- export DEBIAN_FRONTEND=noninteractive
- export DEBCONF_NONINTERACTIVE_SEEN=true
- apt-get update && apt-get -y install
git
cmake
clang
libbz2-dev
libz-dev
libexpat-dev
libssl-dev
- git clone --recursive https://github.com/protomaps/OSMExpress.git
- cd OSMExpress
# NOTE: by default this optimizes aggressively for the build host architecture
# this can result in the use of AVX instructions not available on the target system!
- cmake -DCMAKE_BUILD_TYPE=Release -DROARING_DISABLE_NATIVE=ON -DROARING_ARCH=znver2 .
- make
artifacts:
expire_in: 1 week
when: on_success
paths:
- OSMExpress/osmx