From 957da0c46f10e14c2308c2d40ae39eb48856eb92 Mon Sep 17 00:00:00 2001 From: Jason Ross Date: Tue, 30 Jun 2026 12:28:55 -0500 Subject: [PATCH] ci: run debug-build and unit-tests on x86_64 Linux-arm64 runners can't set up the SDK here: android-actions/setup-android's sdkmanager fails (exit 1) on the android-37.0 preview platform, and the emulator package has no arm64-Linux build. These are pure build/JVM-unit jobs whose results are host-arch-independent, so x86_64 loses no device coverage (real arm64 ABI coverage would require arm64 emulators, i.e. macOS hosts). Co-Authored-By: Claude Opus 4.8 --- .github/workflows/ci.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5ccf7dd..ab7e81e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,9 +22,11 @@ env: jobs: debug-build: name: Debug build - # arm64 Linux runner so the build toolchain matches real (arm64) Android devices. Emulator jobs - # stay on x86_64 (below) because arm64 emulators need macOS hosts and Linux/KVM is more reliable. - runs-on: ubuntu-24.04-arm + # x86_64: Linux-arm64 runners can't set up this SDK — android-actions/setup-android's sdkmanager + # fails (exit 1) on the android-37.0 preview platform, and the emulator package has no arm64-Linux + # build. Build/unit-test results are host-arch-independent anyway (R8/AGP/JVM); real arm64 + # device-ABI coverage would need arm64 emulators, which require macOS hosts. + runs-on: ubuntu-latest steps: - name: Check out source uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 @@ -56,7 +58,7 @@ jobs: unit-tests: name: Unit tests - runs-on: ubuntu-24.04-arm + runs-on: ubuntu-latest steps: - name: Check out source uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0