Android CI based on GitHub Image (#712)
This commit is contained in:
8
.github/workflows/android-release.yml
vendored
8
.github/workflows/android-release.yml
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user