Skip to content

Update Android build configuration to use Swift 6.3.2 and adjust API levels - #228

Merged
colemancda merged 3 commits into
masterfrom
feature/android-ci
Jul 21, 2026
Merged

Update Android build configuration to use Swift 6.3.2 and adjust API levels#228
colemancda merged 3 commits into
masterfrom
feature/android-ci

Conversation

@colemancda

Copy link
Copy Markdown
Member

Summary

Switches the android-build-arm CI job from finagolfin's community Android SDK to the official swift.org Android SDK.

Changes

  • android-build-arm container: swift:6.2.0swift:6.3.2-jammy, matching the toolchain already used by the android-test job.
  • SDK source: finagolfin's 6.2 community SDK → the official swift-6.3.2-RELEASE_android artifact bundle from swift.org.
  • Target triples: android24android28 — the official bundle's oldest supported API level is 28 (finagolfin's SDK went down to 24).
  • The official bundle ships no sysroot of its own (sdkRootPath: ndk-sysroot); the install step now downloads Android NDK r27d and runs the bundle's included scripts/setup-android-sdk.sh to build one, before installing the SDK.

@github-code-quality

github-code-quality Bot commented Jul 21, 2026

Copy link
Copy Markdown

Code Coverage Overview

Languages: Swift

Swift / code-coverage/llvm-cov

The overall coverage in commit 65e8a8a in the feature/android-ci branch remains at 88%, unchanged from commit c45e45c in the master branch.


Updated July 21, 2026 14:16 UTC

SwiftPM resolves its data directory from the passwd entry rather than
$HOME, so inside the swift:6.3.2-jammy container the installed Android
SDK bundle lands under /root/.swiftpm while ~ expands to /github/home.
Probe the known SwiftPM data directories instead of hardcoding one, and
run the bundle's setup-android-sdk.sh the way swiftlang/github-workflows
does. The step also needs an explicit bash shell, since the container's
default dash shell rejects `set -o pipefail`.
@colemancda
colemancda force-pushed the feature/android-ci branch from 29c8056 to 0647f5d Compare July 21, 2026 13:51
The swift:6.3.2-jammy image does not ship curl.
@colemancda
colemancda merged commit c0c14dc into master Jul 21, 2026
47 checks passed
@colemancda
colemancda deleted the feature/android-ci branch July 21, 2026 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant