Skip to content

[CI] Replace ubuntu-latest with an explicit ubuntu version #1078

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

Merged
merged 1 commit into from
May 22, 2024

Conversation

bluetarpmedia
Copy link
Contributor

ubuntu-latest is an alias which over time changes and points at newer ubuntu images. Different ubuntu images have different compiler versions installed and newer images drop older compiler versions.

So to prevent the CI jobs from failing when the ubuntu-latest alias changes I've modified the workflow to use a specific ubuntu version for the g++-10 and clang++-15 jobs, and this ubuntu-22.04 image is documented to have gcc 10 and clang 15 installed.

`ubuntu-latest` is an alias/pointer which over time changes and points at newer ubuntu images. Different ubuntu images have different compiler versions installed and newer images drop older compiler versions. So to keep the CI builds running successfully it's better to use explicit version requirements.

Signed-off-by: Neil Henderson <[email protected]>
@hsutter
Copy link
Owner

hsutter commented May 22, 2024

Thanks!

@hsutter hsutter merged commit 0c26a0e into hsutter:main May 22, 2024
17 checks passed
@bluetarpmedia bluetarpmedia deleted the ci-use-explicit-ubuntu branch May 23, 2024 05:20
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