-
Notifications
You must be signed in to change notification settings - Fork 17
Sccache doesn't seem to work in CI #935
Copy link
Copy link
Closed
Labels
D2-bugSomething isn't workingSomething isn't workingI3-highshould be completed within 5 working daysshould be completed within 5 working days
Description
Context
I notice that sccache doesn't seem to take effect, an example: https://github.com/litentry/litentry-parachain/actions/runs/3405980852
Even if I re-run the job without changing anything, where I expect the run-cargo-runtime-tests to complete quickly, it still did a full compilation.
Strangely, the cargo registry and sccache cache were restored successfully:
Cache restored successfully
Cache restored from key: cargo-7cca616f672081f386280a7525ace5640c511a4aebda45281f073c7e8c5e3007
Cache restored successfully
Cache restored from key: sccache-7cca616f672081f386280a7525ace5640c511a4aebda45281f073c7e8c5e3007
It just didn't get applied.
In the sccache stat, it showed:

Note the cache hit were all C/C++.
Once it's solved, the next step is to try to use sccache inside docker
✔️ Please set appropriate labels and assignees if applicable.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
D2-bugSomething isn't workingSomething isn't workingI3-highshould be completed within 5 working daysshould be completed within 5 working days