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

Enable ccache in CI #290

Merged
merged 38 commits into from
Mar 5, 2025
Merged

Enable ccache in CI #290

merged 38 commits into from
Mar 5, 2025

Conversation

jeaye
Copy link
Member

@jeaye jeaye commented Feb 28, 2025

This should drastically cut our CI job times, hopefully allowing us to run CI on PR creation and synchronization, as we were before.

@Samy-33
Copy link
Contributor

Samy-33 commented Mar 1, 2025

We are caching a particular version of each apt dependency. Does the "included action" update the cache with the new versions when they are available?

My hunch is that it will be rare for an apt dependency to break building Jank. But we might want to periodically evict the cache to get new versions. This will keep us informed if a new version of a dependency breaks Jank.

@jeaye
Copy link
Member Author

jeaye commented Mar 1, 2025

We are caching a particular version of each apt dependency. Does the "included action" update the cache with the new versions when they are available?

My hunch is that it will be rare for an apt dependency to break building Jank. But we might want to periodically evict the cache to get new versions. This will keep us informed if a new version of a dependency breaks Jank.

You're correct. Github has its own cache eviction mechanism, but we may still end up in a situation where an upstream dependency will break jank but CI doesn't get it. I'm open to solutions for that, going forward, but not trying to solve everything here.

@jeaye jeaye force-pushed the ccache-in-ci branch 5 times, most recently from f834631 to 2875baf Compare March 3, 2025 05:12
@jeaye jeaye merged commit beafe61 into main Mar 5, 2025
7 checks passed
@jeaye jeaye deleted the ccache-in-ci branch March 5, 2025 07:09
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