Skip to content

Commit e318710

Browse files
b-zeeclaude
andcommitted
fix: limit test job to single architecture build
- Use :core:testDebugUnitTest for targeted test execution - Add CARGO_NDK_TARGET_ARCH=arm64 to prevent building all 4 archs - Reduces disk usage by ~75% (1 arch vs 4 archs) Tests still depend on Android NDK builds for UniFFI bindings generation, so we need the environment variable to limit targets. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 20b32a7 commit e318710

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/android.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,10 @@ jobs:
8989
working-directory: android
9090

9191
- name: Unit test
92-
run: ./gradlew test
92+
run: ./gradlew :core:testDebugUnitTest
9393
working-directory: android
94+
env:
95+
CARGO_NDK_TARGET_ARCH: arm64
9496

9597
- name: 'Upload Artifact'
9698
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)