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] Cache ~/.cargo dir between CI runs #140

Open
SpotlightKid opened this issue Oct 30, 2022 · 0 comments
Open

[CI] Cache ~/.cargo dir between CI runs #140

SpotlightKid opened this issue Oct 30, 2022 · 0 comments
Labels
enhancement New feature or request tooling Scripts or CI

Comments

@SpotlightKid
Copy link
Member

Compiling rust is slow and rust packages often have literally hundreds of dependency packages, which must be downloaded and compiled on each CI run.

We can at least speed up the downloading part by caching the ~/.cargo directory between CI runs.

Things to consider:

  • Does this affect CI steps, which run concurrently, like "Build packages" and "Reproduce packages"
  • Do we need to make specials provisions for different architectures?
@SpotlightKid SpotlightKid added enhancement New feature or request tooling Scripts or CI labels Oct 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tooling Scripts or CI
Projects
None yet
Development

No branches or pull requests

1 participant