From 714db175bf3e01f89aeb9eda5ea8d853ebca50f7 Mon Sep 17 00:00:00 2001 From: Kenjiro Nakayama Date: Mon, 7 Sep 2026 15:46:08 +0900 Subject: Test minimum and latest Android API levels Previously, Android CI built every API level from 26 through 30 for each supported ABI using the runner's default NDK. This PR changes the CI to: - Build each supported ABI against the minimum API level, API 26 - Build each supported ABI against the latest API provided by the NDK - Use the latest NDK preinstalled on the GitHub Actions runner - Replace the MIN_NAL/MAX_NAL range with one API per matrix job --- .github/workflows/android.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to '.github/workflows/android.yml') diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index d9d3b36..bd02a3b 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -17,12 +17,10 @@ jobs: fail-fast: false matrix: include: - - name: "Android 8-9" - min-nal: 26 - max-nal: 28 - - name: "Android 10-11" - min-nal: 29 - max-nal: 30 + - name: "Minimum API 26" + api-level: 26 + - name: "Latest API" + api-level: latest steps: - name: "Checkout repository" uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 @@ -35,8 +33,8 @@ jobs: sudo apt-get install -y cmake ninja-build - name: "Run CI script" - run: ./scripts/test + run: | + ANDROID_NDK_HOME="$ANDROID_NDK_LATEST_HOME" ./scripts/test env: ARCH: "android" - MIN_NAL: "${{ matrix.min-nal }}" - MAX_NAL: "${{ matrix.max-nal }}" + ANDROID_API_LEVEL: "${{ matrix.api-level }}" -- cgit v1.2.3-55-g6feb