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

Caching efficiently in CI #51

Closed
llebout opened this issue Apr 28, 2020 · 5 comments
Closed

Caching efficiently in CI #51

llebout opened this issue Apr 28, 2020 · 5 comments

Comments

@llebout
Copy link
Contributor

llebout commented Apr 28, 2020

Currently we don't cache anything, and that's very wasteful.

We should follow actions-rs/meta#21 closely for the availability of better caching support in the Github Actions helpers we use.

And we are lucky to have the maintainer of these helpers as a committer already @svartalf!

@svartalf
Copy link
Contributor

It is possible to cache Rust artifacts to some extent, as in this snippet: https://github.com/actions/cache/blob/master/examples.md#rust---cargo. Combined with that pretty valuable information from the https://github.com/actions-rs/meta#21 it can potentially speed up the CI execution right now.

@ghost
Copy link

ghost commented May 3, 2020

PR: #69

@llebout
Copy link
Contributor Author

llebout commented May 3, 2020

@stjepang Even though that PR can be merged, I suggest we keep this open because it's far from optimal currently. So there's still this question of properly caching things.

@llebout llebout changed the title Caching builds in CI Caching efficiently in CI May 3, 2020
@llebout
Copy link
Contributor Author

llebout commented May 3, 2020

See: #69 (comment) for details on the limitations of the current Github Actions's caching mechanism

@ghost
Copy link

ghost commented Jun 21, 2020

Closing this issue due to inactivity. I didn't find the lack of caching to be a huge problem :)

@ghost ghost closed this as completed Jun 21, 2020
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants