Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
x7z4w
2025-08-03 17:45:01 +00:00
parent 835ee4ab8d
commit 9b5419b6d4
4 changed files with 16 additions and 9 deletions

View File

@@ -36,15 +36,13 @@ jobs:
android-google-beta:
name: Android Google Beta
runs-on: ubuntu-latest
container:
image: runmymind/docker-android-sdk:latest
environment: beta
steps:
- name: Install build tools and dependencies
shell: bash
run: |
apt-get update -y
apt-get install -y ninja-build
apt-get install -y cmake ninja-build
- name: Checkout sources
uses: https://github.com/actions/checkout@v4
@@ -71,6 +69,8 @@ jobs:
RELEASE_KEYSTORE: ${{ secrets.RELEASE_KEYSTORE }}
- name: Compile
container:
image: runmymind/docker-android-sdk:latest
shell: bash
working-directory: android
run: |

View File

@@ -38,8 +38,6 @@ jobs:
lint:
name: Android Lint
runs-on: ubuntu-latest
container:
image: runmymind/docker-android-sdk:latest
steps:
- name: Checkout sources
uses: https://github.com/actions/checkout@v4
@@ -51,6 +49,8 @@ jobs:
run: git submodule update --depth 1 --init --recursive --jobs=$(($(nproc) * 20))
- name: Lint
container:
image: runmymind/docker-android-sdk:latest
shell: bash
working-directory: android
run: ./gradlew -Pandroidauto=true lint
@@ -79,7 +79,7 @@ jobs:
shell: bash
run: |
apt-get update -y
apt-get install -y ninja-build
apt-get install -y cmake ninja-build
- name: Checkout sources
uses: https://github.com/actions/checkout@v4
@@ -96,6 +96,8 @@ jobs:
key: ${{ github.workflow }}-${{ matrix.flavor }}
- name: Compile ${{ matrix.flavor }}
container:
image: runmymind/docker-android-sdk:latest
shell: bash
working-directory: android
env:

View File

@@ -10,8 +10,6 @@ jobs:
tag:
name: Tag
runs-on: ubuntu-latest
container:
image: runmymind/docker-android-sdk:latest
environment: production
steps:
- name: Checkout sources
@@ -74,7 +72,7 @@ jobs:
shell: bash
run: |
apt-get update -y
apt-get install -y ninja-build
apt-get install -y cmake ninja-build
- name: Checkout sources
uses: https://github.com/actions/checkout@v4
@@ -123,6 +121,8 @@ jobs:
run: echo "sdk.dir=$ANDROID_SDK_ROOT" > android/local.properties
- name: Compile and upload to Google Play
container:
image: runmymind/docker-android-sdk:latest
shell: bash
working-directory: android
run: |
@@ -130,6 +130,8 @@ jobs:
if: ${{ matrix.flavor == 'google' }}
- name: Compile and upload to Huawei AppGallery
container:
image: runmymind/docker-android-sdk:latest
shell: bash
working-directory: android
run: |
@@ -138,6 +140,8 @@ jobs:
if: ${{ matrix.flavor == 'huawei' }}
- name: Compile universal APK
container:
image: runmymind/docker-android-sdk:latest
shell: bash
working-directory: android
run: |

View File

@@ -53,6 +53,7 @@ jobs:
apt update -y
apt install -y \
ninja-build \
cmake \
libgl1-mesa-dev \
libglvnd-dev \
libharfbuzz-dev \