Skip to content

Use Azure Linux build hosts and explicit cross-build sysroots - #7835

Merged
matouskozak merged 2 commits into
mainfrom
matouskozak-cross-build-rootfs
Oct 21, 2026
Merged

matouskozak merged 2 commits into
mainfrom
matouskozak-cross-build-rootfs

Conversation

@matouskozak

@matouskozak matouskozak commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

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.

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 matouskozak changed the title Make Linux cross-build sysroots explicit Use Azure Linux build hosts and explicit cross-build sysroots Oct 21, 2026
@matouskozak
matouskozak requested review from rosebyte and svick and a balanced review from Copilot October 21, 2026 12:41

@rosebyte rosebyte left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like it, let's try and see.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 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

codecov Bot commented Oct 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.82%. Comparing base (53e0fc6) to head (7d14bd3).
⚠️ Report is 3 commits behind head on main.

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     
Flag Coverage Δ
Debug 70.82% <ø> (+<0.01%) ⬆️
production 64.26% <ø> (+<0.01%) ⬆️
test 90.77% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 11 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@matouskozak
matouskozak merged commit e568d40 into main Oct 21, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants