-
-
Notifications
You must be signed in to change notification settings - Fork 109
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
Is possible an option to cache also build of own code? #37
Comments
The idea is that the tradeoff to only cache dependencies is better because:
|
Thanks for the comment @Swatinem. About the first two points, I was thinking in incremental and default to false, but I guess that could be complex to do. And interesting the third point. |
This was referenced Jan 8, 2022
Oppen
added a commit
to lambdaclass/cairo-vm
that referenced
this issue
Nov 22, 2022
As explained in Swatinem/rust-cache#37, build artifacts only contribute to bloating the cache, as the divergences negate any benefits from caching them due to the cache key not changing over most commits.
Juan-M-V
added a commit
to lambdaclass/cairo-vm
that referenced
this issue
Dec 22, 2022
* Test github actions cache for rust * Trigger ci * Test another cache step * Trigger ci * Add cache step * Back to testing actions/cache * Trigger ci * Test path * Test * Debug step * Update rust.yml * Update bench_pull_request.yml * Test target without tarpaulin * Debug * Don't include lockfiles from targets * Restrict cache targets to avoid complicated permissions issues * Include build * Include incremental build :fingers-crossed: * Incremental won't work anyway * Enable codecov * Clean * Fix * Remove spurious separator * Only cache deps As explained in Swatinem/rust-cache#37, build artifacts only contribute to bloating the cache, as the divergences negate any benefits from caching them due to the cache key not changing over most commits. Co-authored-by: Juan-M-V <102986292+Juan-M-V@users.noreply.github.com> Co-authored-by: Mario J. Rugiero <mrugiero@gmail.com>
2 tasks
JadedBlueEyes
added a commit
to metabrainz/mb-mail-service
that referenced
this issue
Jul 31, 2024
Swatinem/rust-cache#37 This now matches behavior of rust-cache and lowers disk usage
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The idea is an option default to false to improve builds as Rust compiler will have cache and only need to build the changes.
The text was updated successfully, but these errors were encountered: