[CI] Add generate symbols tasks inside CI and create Dockerfile

Signed-off-by: jeanbaptisteC <jeanbaptistec@noreply.codeberg.org>
This commit is contained in:
Jean-Baptiste
2025-05-21 18:04:21 +02:00
committed by Konstantin Pastbin
parent 39059ec26d
commit dc2b3c50dd
4 changed files with 53 additions and 7 deletions

View File

@@ -37,7 +37,7 @@ jobs:
strategy:
fail-fast: false
matrix:
flavor: [WebDebug, FdroidDebug]
flavor: [WebBeta, FdroidDebug]
include:
- flavor: WebDebug
arch: arm64
@@ -53,7 +53,19 @@ jobs:
shell: bash
run: |
sudo apt-get update -y
sudo apt-get install -y ninja-build
sudo apt-get install -y ninja-build \
qt6-base-dev \
qt6-declarative-dev \
qt6-positioning-dev \
libqt6svg6-dev \
optipng \
libfreetype-dev \
libharfbuzz-dev \
libxrandr-dev \
libxinerama-dev \
libxcursor-dev \
libxi-dev \
zlib1g-dev
- name: Checkout sources
uses: actions/checkout@v4
@@ -68,11 +80,9 @@ jobs:
shell: bash
run: ./configure.sh
- name: Download MWM files
- name: Generate symbols
shell: bash
run: |
wget https://cdn.comaps.app/maps/latest/World.mwm -P ./data/
wget https://cdn.comaps.app/maps/latest/WorldCoasts.mwm -P ./data/
run: ./tools/unix/generate_symbols.sh
- name: Configure ccache
uses: hendrikmuhs/ccache-action@v1.2

View File

@@ -14,7 +14,7 @@ jobs:
LANG: en_US.UTF-8 # Fastlane complains that the terminal is using ASCII.
LANGUAGE: en_US.UTF-8
LC_ALL: en_US.UTF-8
TEST_RESULTS_BUNDLE_NAME: OMaps-Test-Results
TEST_RESULTS_BUNDLE_NAME: CoMaps-Test-Results
strategy:
fail-fast: false
matrix:
@@ -25,6 +25,12 @@ jobs:
cancel-in-progress: true
steps:
- name: Install dependencies
run: |
brew install qt \
freetype \
harfbuzz \
optipng
- name: Checkout sources
uses: actions/checkout@v4
@@ -42,6 +48,10 @@ jobs:
wget https://cdn.comaps.app/maps/latest/World.mwm -P ./data/
wget https://cdn.comaps.app/maps/latest/WorldCoasts.mwm -P ./data/
- name: Generate symbols
shell: bash
run: ./tools/unix/generate_symbols.sh
- name: Configure XCode cache
uses: irgaly/xcode-cache@v1
with: