Repository navigation
CI: prepare for Ubuntu 26.04, add jobs for Clang 20-22 and GCC 16 - #6048
Merged
Merged
Conversation
The libcrypt-dev package is not installed by default in the Ubuntu 26.04 build image, so install it explicitly.
As gcc-9, gcc-10, clang-14, clang-15, or clang-16 are not available on Ubuntu 26.04, pin the corresponding jobs to ubuntu-24.04 so they survive the upcoming ubuntu-latest switch from ubuntu-24.04 to ubuntu-26.04.
As gcc-16 is available both on Ubuntu 24.04 and on Ubuntu 26.04, keep it on ubuntu-latest.
As Clang 21 and Clang 22 are available only on Ubuntu 26.04, pin ubuntu-26.04 for the corresponding jobs. When ubuntu-latest switches from ubuntu-24.04 to ubuntu-26.04, these jobs can be switched to ubuntu-latest. Clang 20 is available on both Ubuntu 24.04 and Ubuntu 26.04, so keep it on ubuntu-latest.
solardiz
approved these changes
Oct 11, 2026
Contributor
Author
|
I didn't look into ASAN variants, but I made sure that changing ubuntu-latest to ubuntu-26.04 doesn't break any job in the matrix. |
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.
Summary
This pull request updates the project's CI infrastructure to prepare for Ubuntu 26.04 and newer compiler releases (
Clang 20–22,GCC 16), ensures legacy compiler test matrix stability across runner upgrades.Details
Modern Toolchain & Ubuntu 26.04 CI Jobs
ubuntu-26.04as they are not present in older Ubuntu releases.ubuntu-latest.libcrypt-devin CI workflows, as it is no longer installed by default on the Ubuntu 26.04 runner image.Forward Compatibility for
ubuntu-latestgcc-9,gcc-10,clang-14,clang-15,clang-16) toubuntu-24.04. These toolchains are removed in Ubuntu 26.04, so pinning them ensures matrix tests continue to pass when GitHub transitionsubuntu-latestto Ubuntu 26.04.