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

Add CI caching for faster builds #27

Open
erikmannerfelt opened this issue Jun 6, 2023 · 0 comments
Open

Add CI caching for faster builds #27

erikmannerfelt opened this issue Jun 6, 2023 · 0 comments

Comments

@erikmannerfelt
Copy link
Owner

With #26, the CI build time is now around 13 minutes. That's not extreme, but it could surely be better. Most of the time is most likely spent on compiling the dependencies, and not rsgpr itself. Therefore, assuming the dependency versions don't change, there's no good reason to recompile them every time a new action is triggered.

There are apparently good caching solutions out there. One blog showcases this nicely:
Optimizing Rust Builds for Faster GitHub Actions Pipelines

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant