-
Notifications
You must be signed in to change notification settings - Fork 17
61 lines (57 loc) · 2.07 KB
/
build_ubuntu_24.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
name: build ubuntu 24.04
on:
pull_request:
branches:
- debug
- master
push:
branches:
- debug
- master
jobs:
build:
runs-on: ubuntu-24.04
environment: build
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Update package list
run: sudo apt-get update
- name: Install software-properties-common
run: sudo apt-get install software-properties-common
- name: Install clang compiler and tools
run: |
sudo apt-get -y install clang ccache cmake pkg-config curl wget
- name: Install dependencies
run: |
sudo apt-get install -y \
libc++-dev libomp-dev zlib1g-dev liblzma-dev libxml2-dev \
libdbus-1-dev libprotobuf-dev protobuf-compiler\
libqt5remoteobjects5-bin libqt5quickwidgets5 \
libqt5quickcontrols2-5 libqt5qmlmodels5 libqt5qml5 \
libqt5positioning5 libqt5dbus5 libqt5remoteobjects5-dev \
libqt5svg5-dev libqt5sensors5-dev \
qttools5-dev qttools5-dev-tools qtdeclarative5-dev \
qtquickcontrols2-5-dev qtmultimedia5-dev qtpositioning5-dev \
qml-module-qtquick2 qml-module-qtgraphicaleffects \
qml-module-qtquick-layouts qml-module-qtquick-controls2 \
qml-module-qt-labs-settings \
libreadline-dev
- name: Fetch submodules
run: git submodule init && git submodule update
- name: Configure build
run: |
cmake -B build \
-DBUILD_DEVICE_MOBILE=ON \
-DBUILD_SIMULATOR=ON -DBUILD_SIMULATOR_WITH_READLINE=ON \
-Wno-dev
- name: Build OSMIN
run: cmake --build build --target osmin
- name: Build SIMULATOR
run: cmake --build build --target simulator
- name: Build OSMSCOUT IMPORT
run: cmake --build build --target Import
- name: Build OSMSCOUT STYLE EDITOR
run: cmake --build build --target StyleEditor
- name: Install
run: sudo cmake --install build