-
Notifications
You must be signed in to change notification settings - Fork 10.5k
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
utils: Update default Android SDKs in build.ps1 #79944
Conversation
@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) { |
There was a problem hiding this comment.
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"?
There was a problem hiding this comment.
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.
3084ad2
to
ef3e100
Compare
@swift-ci please smoke test |
ef3e100
to
6795b39
Compare
@swift-ci please smoke test |
@hjyamauchi Do you think I can land this? |
Yes! |
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.