-
Notifications
You must be signed in to change notification settings - Fork 15
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
Support sccache #33
Comments
This seems like it'd be useful. Are you sure that you need the first bit? The docs for the sccache-action don't call this out, so I wonder if this is actually needed. Also, I'm not clear on where that TOML snippet you shared goes. Is that in your And I think that instead of using that |
I just implemented support for |
I’ve found a combination of both to be highly effective: we install and use sccache only when there is a cache hit from This sounds counter-intuitive, but you do indeed hit rate limits when building from scratch. But sccache offers little benefit in this case. using it for incremental compilation only gives you the best of both worlds: a full cache with most objects, and sccache to cache all the other stuff you’re changing in between full caches. |
Oh, that's interesting. Do you have any GitHub Actions config file I could look at where you do this? Or maybe you can paste an excerpt here? |
Unfortunately not (it’s private), and I won’t have access to my work machine for a while. It’s basically just an |
Hey! Awesome action <3
It would be amazing to support sccache with this action. It's possible right now, but fiddly: I've hacked it in with:
With
And the dockerfile:
with the script from the cross wiki.
The text was updated successfully, but these errors were encountered: