Skip to content

utils: Update default Android SDKs in build.ps1 #79944

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

weliveindetail
Copy link
Member

Building all the Android SDKs might not be the ideal default, since it takes a lot of time. We might want to focus on the one we can test best. In the future we want to run executable tests for the Swift runtime on Android and the emulator only works for the native architecture. It might be a better default to build that one, because we will have the best options for testing.

@weliveindetail
Copy link
Member Author

@swift-ci please smoke tests

utils/build.ps1 Outdated
# Enable all android SDKs by default.
$AndroidSDKs = @("aarch64","armv7","i686","x86_64")
# By default enable Android SDKs that we can run executable tests for.
$AndroidSDKs = switch ($BuildArchName) {
Copy link
Contributor

Choose a reason for hiding this comment

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

This looks like we build the ARM64 Android SDK on the ARM64 windows build? We currently build Android only on the X64 windows build, right? Should it be "if AMD64 then aarch64"?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes agree, as long as execution tests aren't ready, this is a viable option.

@weliveindetail weliveindetail force-pushed the windrd-update-default-sdks branch from 3084ad2 to ef3e100 Compare March 12, 2025 19:54
@weliveindetail
Copy link
Member Author

@swift-ci please smoke test

@weliveindetail weliveindetail disabled auto-merge March 12, 2025 20:46
@weliveindetail weliveindetail force-pushed the windrd-update-default-sdks branch from ef3e100 to 6795b39 Compare March 12, 2025 20:56
@weliveindetail
Copy link
Member Author

@swift-ci please smoke test

@weliveindetail
Copy link
Member Author

@hjyamauchi Do you think I can land this?

@hjyamauchi
Copy link
Contributor

Yes!

@weliveindetail weliveindetail merged commit c4a472e into swiftlang:main Mar 13, 2025
3 checks passed
@weliveindetail weliveindetail deleted the windrd-update-default-sdks branch March 13, 2025 17:01
compnerd added a commit that referenced this pull request Mar 15, 2025
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.

2 participants