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

Update minimal Ubuntu version in workflows from 20.04 to 22.04 #1670

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

vegorov-rbx
Copy link
Collaborator

@vegorov-rbx vegorov-rbx commented Feb 18, 2025

Ubuntu 20.04 LTS is reaching the end of its standard support period.
GitHub runners are going to stop providing images for it soon.

This PR updates all workflows to use 22.04 instead of 20.04.
While this will impact the compatibility of prebuilt release binaries on 20.04, users of those systems can always build Luau from source.

coverage workflow is also updating from clang++10 to clang++ (defaults to clang++14 today).
Line coverage with this switch drops from 89.65% to 87.45%, function coverage remains 91.26%.
As a bonus, we now get branch coverage information.

Copy link
Contributor

@hgoldstein hgoldstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to confirm: the main fallout here will be that prebuilt binaries will use a newer version of glibc, which could cause issues for anyone who uses the prebuilt binaries and doesn't have said newer version?

If so, seems fine to me: Ubuntu 20.04 is EOL, Important Consumers ™️ build from source anyhow.

@vegorov-rbx
Copy link
Collaborator Author

Just to confirm: the main fallout here will be that prebuilt binaries will use a newer version of glibc, which could cause issues for anyone who uses the prebuilt binaries and doesn't have said newer version?

Yes, running any of the prebuilt binaries from the new release will fail with a missing glibc version error on old systems.

@vegorov-rbx vegorov-rbx merged commit 14ccae9 into master Feb 20, 2025
8 checks passed
@vegorov-rbx vegorov-rbx deleted the ubuntu-22-04-workflows branch February 20, 2025 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants