Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fix failing Clang builds on GitHub Actions #17

Merged
merged 1 commit into from
Mar 18, 2025

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. (See https://github.com/martinmoene/any-lite/actions/runs/13042535304/job/36387278327 for one such failed build.) 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 any-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 31c06c5 into martinmoene:master Mar 18, 2025
8 checks passed
@striezel striezel deleted the fix-clang-builds branch March 19, 2025 01:34
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.

2 participants