Conversation
Cross-compiles for aarch64 and x86_64 against android28 using the official Swift 6.3.1 Android SDK bundle. No on-device test run — the build alone catches the usual Darwin-only / Foundation drift. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Replaces the hand-rolled swift sdk install + NDK download with the skiptools/swift-android-action, which wraps the same SDK setup AND runs the SwiftPM test suite on an x86_64 Android emulator. Drops the container/matrix because the emulator step needs nested KVM on the bare ubuntu-* runner image. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Mirrors the other platforms' pattern — invokes skiptools/swift-android-action twice, once with run-tests:false to build, and once with build-package:false / build-tests:false to run the emulator tests. The second invocation hits the SDK/NDK/AVD caches populated by the first. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 73c040faa9
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| build-package: false | ||
| build-tests: false |
There was a problem hiding this comment.
Remove flags that skip Android test execution
The Test (Android emulator) invocation sets build-package: false and build-tests: false, but this action only prepares and runs emulator tests when all three conditions are true (run-tests, build-tests, and build-package) in skiptools/swift-android-action’s action.yml (if: inputs.run-tests == 'true' && inputs.build-tests == 'true' && inputs.build-package == 'true' on the test-related steps). In this configuration, the step will not execute Android tests at all, so CI will report green without actually validating Android test behavior.
Useful? React with 👍 / 👎.
Summary
build-androidjob to.github/workflows/swift.ymlthat cross-compiles foraarch64andx86_64againstandroid28using the official Swift 6.3.1 Android SDK bundle.Test plan
build-android (aarch64)succeedsbuild-android (x86_64)succeeds🤖 Generated with Claude Code