-
-
Notifications
You must be signed in to change notification settings - Fork 692
[CI] Add concurrency and scons caching. #853
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
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. |
akien-mga
left a comment
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.
Looks great!
|
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 😉