Skip to content

[release/6.0] Modernise Linux CI containers and native compiler discovery - #7874

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

rosebyte merged 1 commit into
dotnet:release/6.0from
rosebyte:rosebyte-release-6-0-backport

Conversation

@rosebyte

@rosebyte rosebyte commented Nov 3, 2026

Copy link
Copy Markdown
Member

Backport of #7868 to release/6.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.

…very

Backport of dotnet#7868 to release/6.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.
⚠️ Please upload report for BASE (release/6.0@870618c). Learn more about missing BASE report.

Additional details and impacted files
@@              Coverage Diff               @@
##             release/6.0    #7874   +/-   ##
==============================================
  Coverage               ?   70.26%           
==============================================
  Files                  ?     1419           
  Lines                  ?   272603           
  Branches               ?    27940           
==============================================
  Hits                   ?   191535           
  Misses                 ?    73651           
  Partials               ?     7417           
Flag Coverage Δ
Debug 70.26% <ø> (?)
production 64.51% <ø> (?)
test 89.79% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@rosebyte
rosebyte merged commit 6c5b8fb into dotnet:release/6.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