[build] Fix installing the arm64 version of .NET.#21396
Conversation
On the bots we're executing with Rosetta, and 'arch' returns 'i386' under Rosetta, so detect when we're executing under Rosetta, and install the arm64 version of .NET in that case as well. Also fix a bug in the same area in our tests.
💻 [CI Build] Windows Integration Tests passed 💻✅ All Windows Integration Tests passed. Pipeline on Agent |
✅ API diff for current PR / commitNET (empty diffs)
✅ API diff vs stable.NET (No breaking changes)ℹ️ Generator diffGenerator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes) Pipeline on Agent |
💻 [CI Build] Tests on macOS X64 - Mac Sonoma (14) passed 💻✅ All tests on macOS X64 - Mac Sonoma (14) passed. Pipeline on Agent |
💻 [CI Build] Tests on macOS M1 - Mac Monterey (12) passed 💻✅ All tests on macOS M1 - Mac Monterey (12) passed. Pipeline on Agent |
💻 [CI Build] Tests on macOS M1 - Mac Ventura (13) passed 💻✅ All tests on macOS M1 - Mac Ventura (13) passed. Pipeline on Agent |
|
/sudo backport net9.0 |
|
Backport Job to branch net9.0 Created! The magic is happening here |
|
Hooray! Backport succeeded! Please see https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=10357180 for more details. |
🚀 [CI Build] Test results 🚀Test results✅ All tests passed on VSTS: test results. 🎉 All 99 tests passed 🎉 Tests counts✅ cecil: All 1 tests passed. Html Report (VSDrops) Download Pipeline on Agent |
|
/sudo backport release/8.0.1xx-xcode16.0 |
|
Backport Job to branch release/8.0.1xx-xcode16.0 Created! The magic is happening here |
|
Hooray! Backport succeeded! Please see https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=10364142 for more details. |
On the bots we're executing with Rosetta, and 'arch' returns 'i386' under Rosetta, so detect when we're executing under Rosetta, and install the arm64 version of .NET in that case as well. Also fix a bug in the same area in our tests. Backport of #21396 Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
…of .NET. (#21401) On the bots we're executing with Rosetta, and 'arch' returns 'i386' under Rosetta, so detect when we're executing under Rosetta, and install the arm64 version of .NET in that case as well. Also fix a bug in the same area in our tests. Backport of #21396 Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
On the bots we're executing with Rosetta, and 'arch' returns 'i386' under
Rosetta, so detect when we're executing under Rosetta, and install the arm64
version of .NET in that case as well.
Also fix a bug in the same area in our tests.