[CI] Add concurrency and scons caching.#853
Conversation
d4c1002 to
4b33f13
Compare
|
Concurrency seems to work: https://github.com/godotengine/godot-cpp/actions/runs/3082763931 |
|
I'll test cache by force-pushing once CI has finished. |
|
BTW, we could also consider removing |
4b33f13 to
495cf54
Compare
Oh, I missed that, yes, we definitely should, or caching will actually not work (see #838 (comment)). |
(or, more correctly, the "debug" step will override it every time). |
|
With the scons caching and generate_bindings=yes, the generated sources won't be cached directly, but their corresponding compiled object files will. That was the point of using the cache with content comparison: otherwise, the usual modification time check would have been enough 🙂 |
Ah right, my bad. I guess we could leave the |
|
I'd say let's go with |
495cf54 to
d5e8675
Compare
|
Confirmed working cached run: https://github.com/godotengine/godot-cpp/actions/runs/3083410183 |
Followup on #838 .
Should make @akien-mga happy that we don't needlessly clog CI anymore 😉