From 6d930ef3cc4fdb28892641f62b9c0132a225746f Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 24 Apr 2026 20:52:19 +0000 Subject: [PATCH] ci: split assembleDebug and assembleBenchmark into separate gradle calls MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Combining them into a single Gradle invocation caused :amethyst:packagePlayBenchmark to fail inside AGP's IncrementalSplitterRunnable worker — both variants share packaging state in one task graph and the benchmark leg trips on it. The old workflow always ran these as two separate `./gradlew` calls. Match that pattern. They still run on the same runner with a warm Gradle cache, so the compilation savings from sharing quartz/commons with the test+packageDeb step are preserved; we only pay two Gradle startups, which is trivial. --- .github/workflows/build.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8fcdb16f2..2385bf308 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -68,9 +68,13 @@ jobs: - name: Test + Build Desktop (gradle) run: ./gradlew test :desktopApp:${{ matrix.desktop-task }} --no-daemon - - name: Build Android APKs (gradle) + - name: Build Android Debug APKs (gradle) if: matrix.os == 'ubuntu-latest' - run: ./gradlew assembleDebug assembleBenchmark --no-daemon + run: ./gradlew assembleDebug --no-daemon + + - name: Build Android Benchmark APKs (gradle) + if: matrix.os == 'ubuntu-latest' + run: ./gradlew assembleBenchmark --no-daemon - name: Android Test Report uses: asadmansr/android-test-report-action@v1.2.0