-
Notifications
You must be signed in to change notification settings - Fork 279
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(port): various ccache and matrix improvements #3258
Conversation
ba5f3bc
to
b87cb12
Compare
2 failing tests on GCC Curses build, the 1st one seems legit, 2nd may be RNG-dependent
|
are they caused by #3258 ? |
These tests are marked |
should i disable slow tests and re-introduce them in later PR? i think fixing CCache should be done quickly |
That could work. |
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.
I can confidently say I don't understand much of it, but here's matrix.yml
applied all of the suggestions, let's hope this works... |
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.
I completely forgot, but Catch2 has a special tag [!mayfail]
we could use to acknowledge that the test sometimes fails.
https://github.com/catchorg/Catch2/blob/v2.x/docs/test-cases-and-sections.md#special-tags
Adding it to failing slow tests may be a better solution that outright disabling all of them.
I don't understand Mac parts, but I didn't see anything suspicious with them. |
makes sense. |
|
@olanti-p do you think this is ready? |
not used ATM
see: CleverRaven/Cataclysm-DDA#55088 Co-authored-by: Brett Dong <[email protected]>
for readability
see: - CleverRaven/Cataclysm-DDA#54306 - CleverRaven/Cataclysm-DDA#54617 Co-authored-by: Kevin Granade <[email protected]>
see: - CleverRaven/Cataclysm-DDA#54078 - CleverRaven/Cataclysm-DDA#64553 Co-authored-by: Kevin Granade <[email protected]> Co-authored-by: Brett Dong <[email protected]>
see: CleverRaven/Cataclysm-DDA#64553 Co-authored-by: Brett Dong <[email protected]>
see: CleverRaven/Cataclysm-DDA#54558 Co-authored-by: Andrew Krieger <[email protected]>
see: CleverRaven/Cataclysm-DDA@aaffb31 Co-authored-by: Andrew Krieger <[email protected]>
see: CleverRaven/Cataclysm-DDA#54435 Co-authored-by: Brett Dong <[email protected]> Co-authored-by: Alexey <[email protected]>
github cache limit is 10GB
@olanti-p i think it's ready for reviewing. |
This reverts commit 71f6840.
MacOS build failed on this PR, but it's legit related failure this time.
|
i haven't changed anything on macos related code, not really sure what's happening. |
It's complaining about missing dependency, so obviously something here changed how dependencies are detected for the build job. |
failing item display test will be fixed in #3407 |
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.
The caching didn't work for a couple builds when I tested it, and a couple other builds received only partial speedup - don't know what's up with that. Either way, some caching is better than no caching, and a couple builds went down to sub 3 minutes, which is definitely an improvement.
5f5bf06
Summary
SUMMARY: Build "Ported various ccache and build improvements from DDA"
Purpose of change
speed up test loop by porting various improvements from DDA
Describe the solution
blamed and copied relevant lines. individual referenced commits and PRs are written in commit message.
Commits are cherry-picked from the works of: @BrettDong @kevingranade @irwiss @jbytheway
Testing
I'd be surprised if this doesn't cause mayhem.
Additional context
tests marked as
[slow]
were disabled to prevent build failure