Use native SDK for arm64 Apple simulator tests - #131468
Draft
matouskozak wants to merge 1 commit into
Draft
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 0c584949-9ec7-4368-8cd3-f48106d1b838
|
Azure Pipelines: Successfully started running 3 pipeline(s). 13 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
|
Tagging subscribers to this area: @akoeplinger, @matouskozak, @simonrozsival |
Contributor
There was a problem hiding this comment.
Pull request overview
Updates Helix test job SDK selection so Apple simulator and Mac Catalyst test legs targeting arm64 use the native osx-arm64 .NET SDK (instead of osx-x64), avoiding Rosetta for MSBuild/crossgen2 on arm64 Helix hosts.
Changes:
- For
TargetsAppleMobilejobs, conditionally setDotNetCliRuntime=osx-arm64whenTargetArchitecture=arm64andTargetOSisiossimulator,tvossimulator, ormaccatalyst.
Member
Author
|
/azp run runtime-ioslikesimulator |
|
No pipelines are associated with this pull request. |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
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.
Use the
osx-arm64.NET SDK when Apple simulator and Mac Catalyst tests target arm64. These jobs run onOSX.26.Arm64Helix machines, so using the native SDK avoids running MSBuild and crossgen2 under Rosetta.The x64 simulator legs and physical iOS/tvOS device legs continue using
osx-x64because their Helix hosts are Intel.This addresses the Rosetta hang in runtime-extra-platforms build 1527467.
Validated the evaluated
DotNetCliRuntimefor all affected Apple target/architecture combinations.Note
This pull request was created with GitHub Copilot.