Skip to content

Fix failing Clang builds on GitHub Actions #59

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged

Conversation

striezel
Copy link
Contributor

A while ago the ubuntu-latest image moved from Ubuntu 22.04 to Ubuntu 24.04. See actions/runner-images#10636. However, Ubuntu 24.04 does not have packages for Clang 11 and 12 anymore, thus the Clang jobs fail when they try to install the corresponding compilers. Therefore, the workflow is changed to use ubuntu-22.04 instead of ubuntu-latest.

Furthermore, a job for Clang 19 (latest Clang version available on Ubuntu 24.04) is added to run tests with a newer version, too.

(This is basically the same pull request as martinmoene/expected-lite#79 and martinmoene/variant-lite#52, but for string-view-lite.)

A while ago the 'ubuntu-latest' image moved from Ubuntu 22.04 to
Ubuntu 24.04. See <actions/runner-images#10636>.
However, Ubuntu 24.04 does not have packages for Clang 11 and 12
anymore, thus the Clang jobs fail when they try to install the
corresponding compilers. Therefore, the workflow is changed to
use 'ubuntu-22.04' instead of 'ubuntu-latest'.

Furthermore, a job for Clang 19 (latest Clang version available
on Ubuntu 24.04) is added to run tests with a newer version, too.
@martinmoene martinmoene merged commit 2efc062 into martinmoene:master Mar 17, 2025
8 checks passed
@striezel striezel deleted the fix-failing-clang-builds branch March 17, 2025 23:30
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants