Repository navigation
Use Azure Linux build hosts and explicit cross-build sysroots - #7835
Merged
Merged
Conversation
Related to #7689. Keep nightly and official pipelines unchanged. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 021df870-9424-4be8-8b5e-6250030cf19b
Update public and official Linux hosts while preserving containers and sysroots. Related to #7689. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 021df870-9424-4be8-8b5e-6250030cf19b
matouskozak
requested review from
rosebyte and
svick
and
a balanced review from Copilot
October 21, 2026 12:41
rosebyte
approved these changes
Oct 21, 2026
rosebyte
left a comment
Member
There was a problem hiding this comment.
I like it, let's try and see.
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
Affected public and official pipeline runs must confirm compatibility between the new hosts and retained containers.
No open issues 🎉
What changed in this PR
Updates ML.NET’s Linux build hosts to Azure Linux 3, addressing part of #7689 while preserving containers, Helix queues, and nightly behavior.
Changes:
- Switches public and official Linux host selection to Azure Linux 3.
- Replaces inferred cross-build sysroots with explicit parameters.
- Documents the sysroot requirement.
| File | Description |
|---|---|
| docs/building/unix-instructions.md | Documents explicit rootfsDir configuration. |
| build/vsts-ci.yml | Updates the official Linux host image. |
| build/ci/job-template.yml | Sets ROOTFS_DIR from an explicit parameter. |
| .vsts-dotnet-ci.yml | Updates four public Linux hosts and supplies ARM sysroots. |
Review effort: Balanced
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7835 +/- ##
=======================================
Coverage 70.81% 70.82%
=======================================
Files 1421 1421
Lines 280010 280009 -1
Branches 27620 27619 -1
=======================================
+ Hits 198281 198305 +24
+ Misses 73562 73542 -20
+ Partials 8167 8162 -5
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
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.
Related to #7689.
Move the four public Linux build jobs and official Linux host selection to Azure Linux 3. Pass ARM/ARM64 sysroots explicitly instead of inferring them from host-image and job names.
Containers, Helix queues, Windows/macOS, and nightly behavior are unchanged.