镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Use the new LTS Android NDK alone for both testing packages and for workflow pulls here - #315

Merged
shahmishal merged 1 commit into
swiftlang:mainfrom
finagolfin:ndk
Oct 14, 2026
Merged

shahmishal merged 1 commit into
swiftlang:mainfrom
finagolfin:ndk

Conversation

@finagolfin

Copy link
Copy Markdown
Member

No description provided.

@finagolfin
finagolfin requested a review from a team as a code owner September 10, 2026 11:27
@finagolfin

Copy link
Copy Markdown
Member Author

LTS NDK 30 is now the only supported one, but keep the older ones around until we ship a Swift 6.4 SDK built with NDK 30 and the GitHub CI have installed it in their runners.

@marcprux and @justice-adams-apple, please review.

@marcprux marcprux left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@finagolfin

Copy link
Copy Markdown
Member Author

@shahmishal, easy review

type: string
description: "The NDK versions to use when building with the Swift SDK for Android"
default: "[\"r27d\", \"r28c\"]"
default: "[\"r27d\", \"r28c\", \"r30\"]"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we drop 27?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I have no problem dropping anything before 30, as these are only the defaults and devs can always specify what they want.

If you prefer some other default, just let me know.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's drop 27 and 28 from default

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, I only kept the old ones around for the default because we still supported 6.3, built with NDK 27, when I submitted this pull adding NDK 30 last week. Now that 6.4 is out, built with NDK 30, and all prior NDKs are unsupported, this is the right default.

@finagolfin finagolfin changed the title Add the new LTS Android NDK testing to packages and for workflow pulls here Use the new LTS Android NDK alone for both testing packages and for workflow pulls here Sep 18, 2026
@finagolfin

Copy link
Copy Markdown
Member Author

@justice-adams-apple, this has been ready for a couple weeks, please merge.

android_sdk_triples:
type: string
description: "The triples to use when building with the Swift SDK for Android. The final triple in the list will be used for the emulator testing and should match the host architecture."
default: "[\"aarch64-unknown-linux-android28\", \"x86_64-unknown-linux-android28\"]"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@swiftlang/android-workgroup, wdyt about lowering this to API 23 or 24 by default, too old?

@finagolfin

Copy link
Copy Markdown
Member Author

@shahmishal, can we get this in before the next tag in this workflows repo? This is ready.

@finagolfin

Copy link
Copy Markdown
Member Author

@shahmishal, would be good to get this in and tag the workflow, as we haven't had a tag since the 6.4 release.

@shahmishal
shahmishal merged commit 3137ed1 into swiftlang:main Oct 14, 2026
205 checks passed
@finagolfin
finagolfin deleted the ndk branch October 15, 2026 02:40
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.

3 participants