Repository navigation
Test the examples with Swift 6.4 on Ubuntu 26.04 - #56
Merged
Merged
Conversation
Member
Author
|
Not 26.04 like swiftlang/github-workflows#348, because there are no Swift 6.3 toolchains for 26.04. |
finagolfin
reviewed
Nov 10, 2026
niktishakov
force-pushed
the
ci-ubuntu-24.04
branch
from
November 10, 2026 18:16
af37b78 to
1660742
Compare
finagolfin
reviewed
Nov 10, 2026
niktishakov
force-pushed
the
ci-ubuntu-24.04
branch
from
November 11, 2026 16:10
aab3b3d to
3c6af0d
Compare
finagolfin
reviewed
Nov 12, 2026
Member
|
Great work on updating all this, Nik, 👍 will get it in once Marc signs off on his initial pull. |
Member
|
Rebase and we can get this in |
ubuntu-latest is now Ubuntu 26.04, which has no Swift 6.3 toolchains, so every job failed while installing the toolchain. Test Swift 6.4 and the 6.4 and main nightlies with NDK r30 on Ubuntu 26.04, and install binutils-gold, which the toolchains need there.
Swift Build, the default build system in Swift 6.4, supports --static-swift-stdlib for dynamic libraries, so the examples no longer need to pass -static-stdlib and the static resource directory to swiftc. The default toolchain is now 6.4.
Build the Swift code for each app's minSdk instead of a fixed API 28, and set minSdk to 23. native-activity and swift-java-weather-app need API 24: AChoreographer and getifaddrs, which swift-nio uses, start there. Adaptive icons move to mipmap-anydpi-v26, since they need API 26.
niktishakov
force-pushed
the
ci-ubuntu-24.04
branch
from
November 12, 2026 06:38
3c6af0d to
1895fb9
Compare
finagolfin
reviewed
Nov 12, 2026
Member
|
Thanks for updating these examples, Nik. 🚀 |
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.
CI has failed since
ubuntu-latestmoved to 26.04, which has no Swift 6.3 toolchains. This tests Swift 6.4 with NDK r30 on 26.04, links with--static-swift-stdlib, and builds the examples for API 23 (API 24 for native-activity and swift-java-weather-app). Fork run: https://github.com/niktishakov/swift-android-examples/actions/runs/42862952440