Update Android build configuration to use Swift 6.3.2 and adjust API levels - #228
Merged
Conversation
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
force-pushed
the
feature/android-ci
branch
from
July 21, 2026 13:51
29c8056 to
0647f5d
Compare
The swift:6.3.2-jammy image does not ship curl.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Switches the
android-build-armCI job from finagolfin's community Android SDK to the official swift.org Android SDK.Changes
android-build-armcontainer:swift:6.2.0→swift:6.3.2-jammy, matching the toolchain already used by theandroid-testjob.6.2community SDK → the officialswift-6.3.2-RELEASE_androidartifact bundle from swift.org.android24→android28— the official bundle's oldest supported API level is 28 (finagolfin's SDK went down to 24).sdkRootPath: ndk-sysroot); the install step now downloads Android NDK r27d and runs the bundle's includedscripts/setup-android-sdk.shto build one, before installing the SDK.