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

workflows/tests: split gem cache per OS version #16089

Merged
merged 1 commit into from
Oct 5, 2023

Conversation

Bo98
Copy link
Member

@Bo98 Bo98 commented Oct 5, 2023

While it is fairly safe to install a gem built on Ubuntu 20.04 on later versions like 22.04, it is not safe to install a gem built on Ubuntu 22.04 on earlier versions like 20.04. The same applies to macOS too, albeit sometimes more discretely.

Easiest fix to that is to split the cache further. We probably want to re-test the initial compile once every new OS version anyway to make sure new compilers/headers/etc remain compatible.

Copy link
Member

@MikeMcQuaid MikeMcQuaid left a comment

Choose a reason for hiding this comment

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

Good catch here, nice work @Bo98.

Good to try bootsnap PR again after this?

@MikeMcQuaid MikeMcQuaid merged commit 0c35bc7 into Homebrew:master Oct 5, 2023
28 checks passed
@Bo98
Copy link
Member Author

Bo98 commented Oct 5, 2023

Should be, yes.

@Bo98 Bo98 deleted the gem-cache-fix branch October 5, 2023 15:30
@github-actions github-actions bot added the outdated PR was locked due to age label Nov 5, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated PR was locked due to age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants