-
Notifications
You must be signed in to change notification settings - Fork 38.7k
ci: Check macos-cross executables on macOS #33509
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
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. Code Coverage & BenchmarksFor details see: https://corecheck.dev/bitcoin/bitcoin/pulls/33509. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
|
Concept ACK |
c512cfe to
d40e61e
Compare
hodlinator
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.
Concept ACK d40e61e
It feels more complete to test something closer to what the end user will be running (although we are still not using Guix builds).
Since we don't have high hopes of this actually detecting any issues that the rest of the CI would not have found, seems to make more sense as a nightly job?
Thx, done in #33549 and https://github.com/maflcko/b-c-nightly/actions/runs/18282485376/job/52056370818 |
|
It's not completely clear to me why we should have cross tests for Windows, but not for macOS, regardless of how-likely we think they are to find issues (or the runtime). Putting things in nightly repos also increases the likelyhood of double-handling changes, to fix things later (also assuming they are reported).
@hodlinator could you elaborate on this? Why do we think the rest of the CI would detect issues in the cross-compiled binaries, if the other macOS CIs are using a different compiler, dependencies, build logic, SDK etc? |
|
I just wonder if there ever was a single issue found if this was run in the CI in the past. If this has never found an issue, the overhead doesn't seem worth it:
I can understand the desire to test as much as possible, but it will never be possible to test everything, so we'll have to accept and decide where to stop. I'd say any platform config that exposes less than 1 issue per year should not be added to the main CI, but I am happy to hear other thoughts. |
|
Broadly agree with maflcko. Despite WSL (not sure of the status of that on CI), Windows is overall less similar to Linux than macOS is to Linux, so it is probably more likely to uncover issues. I guess the downside of nightly is that figuring out which commit introduces a failure lands on build-oriented people. Until we learn CI to git bisect. So assuming that CI-cost is low, I can see how this PR may be preferable. Maybe there's a middle ground of only running upon merge into master? |
Currently, the cross-compiled exe files for Windows are tested in CI on a native Windows VM. However, the same is not done for the cross-compiled macOS executables.
This will add about 17 minutes of additional sequential CI delay, and I am not sure if it will ever catch an issue.
So leaving as draft for now.