Skip to content

Build with the official Swift Android SDK 6.3.2 in Docker#46

Merged
colemancda merged 11 commits into
masterfrom
feature/docker-android-sdk-6.3.2
Jul 22, 2026
Merged

Build with the official Swift Android SDK 6.3.2 in Docker#46
colemancda merged 11 commits into
masterfrom
feature/docker-android-sdk-6.3.2

Conversation

@colemancda

@colemancda colemancda commented Jul 22, 2026

Copy link
Copy Markdown
Member

Adds a Docker-based CI job that cross-compiles the package with the official Swift SDK for Android 6.3.2.

.github/docker/Dockerfileswift:6.3.2-noble plus:

  • the official Android artifact bundle, installed via swift sdk install with the swift.org checksum (both overridable via build args)
  • Android NDK r27d, wired in by the bundle's own scripts/setup-android-sdk.sh, which links the NDK sysroot, the clang resource directory and swiftrt.o into the bundle (the bundle references ndk-sysroot but does not ship it)

.github/workflows/docker.yml — matrix over API levels 28/29/31/33 and aarch64/armv7/x86_64. The bundle declares triples for API 28–36, so each job selects the matching triple directly and sets ANDROID_SDK_VERSION for the package's feature defines. --disable-experimental-prebuilts is needed because the prebuilt swift-syntax bundle omits SwiftIfConfig, which swift-java requires.

All 12 jobs pass. The existing swift.yml workflow is unchanged.

@colemancda
colemancda merged commit e92ed88 into master Jul 22, 2026
16 checks passed
@colemancda
colemancda deleted the feature/docker-android-sdk-6.3.2 branch July 22, 2026 20:13
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