-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
CI: Add ccache #47360
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
CI: Add ccache #47360
Conversation
256681d
to
7d47c23
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might need some documentation on how to manually invalidate the cache. We can potentially get into a bad state like e.g. #47305
Done! |
While this looks good, the |
This pull request is stale because it has been open for thirty days with no activity. Please update and respond to this comment if you're still interested in working on this. |
Could some of the hacks be avoided by only caching on non-windows? |
Only the TMPDIR one. Actually it might already be unnecessary with the latest version of sccache. |
…meson-build-files
This reverts commit e267f87.
…nto add-meson-build-files
…meson-build-files
Seems like #49115 is almost ready, maybe a good time to update this? |
…nto add-meson-build-files
…meson-build-files
This pull request is stale because it has been open for thirty days with no activity. Please update and respond to this comment if you're still interested in working on this. |
Do you think the sccache-action could be easily be used for this instead? https://github.com/Mozilla-Actions/sccache-action |
This is already using another action. What would be the advantage of switching actions? TBH I think the actions are both very similar |
Ah I didn't know if it would make this workflow any simpler, in addition to be more of an official looking ccache action by mozilla |
Closing in favor of #53211 |
Add Sccache https://github.com/mozilla/sccache to the GHA CI. Saves around 5 minutes per run.
Unfortunately it requires some hacks, namely changing a temporary Windows directory and patching distutils.
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.