mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-11 23:04:18 +00:00
Compare commits
2 Commits
v2026.01.0
...
zy-docker-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fccda2d8b9 | ||
|
|
75439b5d89 |
@@ -38,7 +38,26 @@ jobs:
|
||||
lint:
|
||||
name: Android Lint
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: codeberg.org/comaps/docker-android-sdk:latest
|
||||
options: --user root
|
||||
steps:
|
||||
- name: Install build dependencies
|
||||
shell: bash
|
||||
run: |
|
||||
apt-get update -y
|
||||
apt-get install -y \
|
||||
git \
|
||||
python3-pip \
|
||||
openjdk-21-jdk
|
||||
pip install "protobuf<3.21" --break-system-packages
|
||||
|
||||
- name: Install Android SDK components
|
||||
shell: bash
|
||||
run: |
|
||||
yes | sdkmanager --licenses || true
|
||||
sdkmanager "platforms;android-36" "build-tools;36.0.0" "ndk;28.2.13676358"
|
||||
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
@@ -56,6 +75,9 @@ jobs:
|
||||
android-check:
|
||||
name: Build Android Debug
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: codeberg.org/comaps/docker-android-sdk:latest
|
||||
options: --user root
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
@@ -74,8 +96,31 @@ jobs:
|
||||
- name: Install build tools and dependencies
|
||||
shell: bash
|
||||
run: |
|
||||
sudo apt-get update -y
|
||||
sudo apt-get install -y ninja-build
|
||||
apt-get update -y
|
||||
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 \
|
||||
python3-pip \
|
||||
zlib1g-dev \
|
||||
git \
|
||||
ccache
|
||||
pip install "protobuf<3.21" --break-system-packages
|
||||
|
||||
- name: Install Android SDK components
|
||||
shell: bash
|
||||
run: |
|
||||
yes | sdkmanager --licenses || true
|
||||
sdkmanager "platforms;android-36" "build-tools;36.0.0" "ndk;28.2.13676358"
|
||||
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v4
|
||||
|
||||
Reference in New Issue
Block a user