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

CI: improve cache re-use #2025

Open
sveitser opened this issue Sep 19, 2024 · 0 comments
Open

CI: improve cache re-use #2025

sveitser opened this issue Sep 19, 2024 · 0 comments

Comments

@sveitser
Copy link
Collaborator

sveitser commented Sep 19, 2024

We should be able to set the shared-key to re-use the cache between jobs. Since we only have a total of 10GB per repo before things get evicted this should be beneficial. Each rust cache takes about 1GB of space.

If we have builds with different cargo profiles we need to make sure they use different caches though. Otherwise we will save a cache with one profile that will then used by another profile and won't contain the necessary files to make the cache effective.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants