-
Notifications
You must be signed in to change notification settings - Fork 10
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
Speed up CI using compiler cache #78
Conversation
ed56c39
to
3bb798c
Compare
Cache stats: 14.29% hits is unexpectedly low 🤔.
|
And yet the cache size seems to grow on every run, it's like it fails to match build calls across different jobs. Maybe the path where the process files are being stored on every run is different; if that's the case this may be related: https://github.com/ccache/ccache/blob/master/doc/MANUAL.adoc#compiling-in-different-directories |
f5ac6de
to
62f614e
Compare
56e27f5
to
47c69a5
Compare
47c69a5
to
50207e8
Compare
The reason we're getting so many cache misses is that I think I can hack my way around it, but that's really inconvenient. |
21867ba
to
fddaeac
Compare
fddaeac
to
a02fdef
Compare
Removing my assignment. I couldn't make Leaving this PR open in case someone wants to take a look. But IMO, the more direct approach would be to replace the external action with colcon commands in the CI pipeline. |
Indeed, action-ros-ci does not seem to be compatible with ccache due to the path randomization it uses. An alternative is to user industrial_ci, which does support I'm not totally sure it's worth it at the current scale of the repo. |
Experiment...