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 build artifacts when building mir-json #1160

Open
RyanGlScott opened this issue Dec 19, 2023 · 0 comments
Open

CI: Cache cargo build artifacts when building mir-json #1160

RyanGlScott opened this issue Dec 19, 2023 · 0 comments
Labels
CI crux MIR Issues relating to Rust/MIR support

Comments

@RyanGlScott
Copy link
Contributor

The crux-mir CI job takes about 7 minutes to build mir-json on each run, as it must build all of its cargo dependencies from scratch. This is an especially lengthy part of the CI, and it's once that we could conceivably cut down on by caching the cargo dependencies in GitHub Actions. The https://github.com/Swatinem/rust-cache action looks promising for this, as we are using it to great effect in mir-json's CI in this PR.

@RyanGlScott RyanGlScott added crux CI MIR Issues relating to Rust/MIR support labels Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI crux MIR Issues relating to Rust/MIR support
Projects
None yet
Development

No branches or pull requests

1 participant