-
Notifications
You must be signed in to change notification settings - Fork 1.4k
-sdk for Android (Take 3) #2633
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
The head ref may contain hidden characters: "sdk\u2010android"
Conversation
@SDGGiesbrecht LGTM but do you think it's possible to add a unit test for this? I want to avoid having these changes regress unintentionally. |
Sure. Just a minute. |
Done.
|
Thanks! |
@swift-ci smoke test |
I see the failure. Looking into it. |
On Linux it was attempting to validate the toolchain, while I was only giving it a mock value. I switched it to use the standard toolchain from |
@swift-ci smoke test |
@shahmishal can you give @SDGGiesbrecht commit/swift-ci trigger access? |
@swift-ci smoke test linux |
Oh the error seems related:
|
Backing up the stack, the error is from:
So this test fails or not merely based on whether I have narrowed the test by factoring the flag derivation out of the initializer and testing it in isolation. That way there is no |
@swift-ci smoke test |
Finally, a green checkmark. |
Thanks for the fix! |
This is a further narrowing of #2620. It now only changes anything when building for Android. It merely adds
|| triple.isAndroid()
.The local variable of
triple
was necessary because||
involves an implicit closure and would result in an error if the instance property were used directly: