Skip to content

[release/5.0] Modernise Linux CI containers and native compiler discovery - #7873

Merged
rosebyte merged 1 commit into
dotnet:release/5.0from
rosebyte:rosebyte-release-5-0-backport
Nov 3, 2026
Merged

rosebyte merged 1 commit into
dotnet:release/5.0from
rosebyte:rosebyte-release-5-0-backport

Conversation

@rosebyte

@rosebyte rosebyte commented Nov 3, 2026

Copy link
Copy Markdown
Member

Backport commit 44ede55 from dotnet/machinelearning#7868 to release/5.0.

  • Update Ubuntu x64 validation/nightly containers and Linux nightly hosts to Ubuntu 22.04.
  • Use Azure Linux 3.0 ARM/ARM64 cross-build images with LDFLAGS=-fuse-ld=lld.
  • Add Clang 14 discovery while retaining existing compiler preferences.
  • Preserve CentOS Stream 8 images and the official x64 native-package compatibility baseline.

Release/5.0 adaptations

Resolved the documentation conflict while retaining release-specific macOS instructions and existing sysroot inference. Replaced the obsolete cross-container example with current container guidance. No main-branch rootfsDir interface, prerequisite commits, or unrelated changes are included.

…very

Backport of dotnet#7868 to release/5.0.

Replace the Ubuntu 18.04 build environments with newer published images to address Azure Pipelines task-runner compatibility, without disabling Node.js EOL restrictions.

- Use `ubuntu-22.04-mlnet` for Ubuntu x64 PR validation and nightly builds.
- Use dotnet/runtime release/8.0's `azurelinux-3.0-net8.0-cross-arm` and `cross-arm64` images for PR and official ARM builds, with `LDFLAGS=-fuse-ld=lld` to select the bundled LLVM linker.
- Add Clang 14 discovery while preserving existing compiler preferences.
- Move Linux nightly hosted agents to Ubuntu 22.04 and update the associated template conditions.
- Document the container choices and native compatibility constraints.

The CentOS Stream 8 build images, including the official x64 native-package build, are unchanged to avoid silently raising the system-library requirements of shipped native assets.

Only docs/building/unix-instructions.md conflicted: the Ubuntu 18.04 ARM Docker image reference is replaced by the new CI build containers section, and the main-only rootfsDir documentation is omitted because this branch still infers ROOTFS_DIR.

(cherry picked from commit 44ede55)

Co-authored-by: rosebyte <jaroslav.ruzicka@hotmail.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@codecov

codecov Bot commented Nov 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 69.03%. Comparing base (0aee34b) to head (dfa0a79).

Additional details and impacted files
@@               Coverage Diff               @@
##           release/5.0    #7873      +/-   ##
===============================================
+ Coverage        69.02%   69.03%   +0.01%     
===============================================
  Files             1483     1483              
  Lines           274195   274195              
  Branches         28271    28271              
===============================================
+ Hits            189268   189301      +33     
+ Misses           77539    77511      -28     
+ Partials          7388     7383       -5     
Flag Coverage Δ
Debug 69.03% <ø> (+0.01%) ⬆️
production 63.32% <ø> (+0.01%) ⬆️
test 89.47% <ø> (+<0.01%) ⬆️

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

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

@rosebyte
rosebyte merged commit 4893649 into dotnet:release/5.0 Nov 3, 2026
28 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