Android CI based on GitHub Image (#712)

This commit is contained in:
Bart Louwers
2023-01-26 19:40:49 +01:00
committed by GitHub
parent f7fa009f08
commit 85e33f88b1
22 changed files with 27 additions and 200 deletions

View File

@@ -5,14 +5,11 @@ on:
jobs:
build:
runs-on: [self-hosted, Linux]
runs-on: ubuntu-22.04
defaults:
run:
working-directory: platform/android
container:
image: ghcr.io/maplibre/android-ndk-r21b
env:
LIBSYSCONFCPUS: 8
JOBS: 8
BUILDTYPE: Release
IS_LOCAL_DEVELOPMENT: false
@@ -44,6 +41,9 @@ jobs:
run: npm install --ignore-scripts
working-directory: platform/android
- name: Install ccache
run: sudo apt-get install -y ccache
- name: Prepare ccache
run: ccache --clear