Skip to content

CI: set cache to cargo #114

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

Closed
wants to merge 1 commit into from
Closed

CI: set cache to cargo #114

wants to merge 1 commit into from

Conversation

skade
Copy link
Collaborator

@skade skade commented Aug 26, 2019

This should improve build times.

If this build passes, rebuild to validate.

@kpp
Copy link
Contributor

kpp commented Aug 26, 2019

@JohnTitor
Copy link
Contributor

IMO: In relation to @kpp's comment, I've recently seen jobs terminated on Travis due to cache. So cache: cargo may take a long time in the future. It may be better to cache $HOME/.cargo and $HOME/.rustup.

@jamesmunns
Copy link

Also chiming in that I've seen Travis' (and Gitlab CI's) caching be a net-negative to Rust CI times, particularly as time goes on.

@ghost ghost mentioned this pull request Sep 9, 2019
bors bot added a commit that referenced this pull request Sep 10, 2019
168: Cache cargo artifacts r=yoshuawuyts a=stjepang

Supersedes #114 

This does not cache `~/.cargo/registry` because it's too big.

Co-authored-by: Stjepan Glavina <stjepang@gmail.com>
@ghost
Copy link

ghost commented Sep 11, 2019

Closing in favor of #168

@ghost ghost closed this Sep 11, 2019
@ghost ghost deleted the cargo-cache branch September 11, 2019 14:12
This pull request was closed.
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.

4 participants