mirror of
https://github.com/bitcoin/bitcoin
synced 2026-12-04 09:11:37 +00:00
ci: test cross-built macos arm64 binaries #35774
No reviewers
Labels
No labels
Android
Backport
Block storage
Brainstorming
Bug
Build system
CI failed
Consensus
Data corruption
Descriptors
Docs
DrahtBot Guix build requested
Feature
Fuzzing
GUI
Good First Review
IPC
Insufficient Review
Kernel
Linux/Unix
Mempool
Mining
Needs Backport (31.x)
Needs Backport (32.x)
Needs Benchmark
Needs Conceptual Review
Needs backport (30.x)
Needs rebase
Needs release note
Net
P2P
PSBT
Privacy
Private Broadcast
Questions and Help
RPC/REST/ZMQ
Refactoring
Resource usage
Review club
Scripts and tools
Settings
TX fees and policy
Tests
Tracking Issue
UTXO Db and Indexes
Up for grabs
Upstream
Utils/log/libs
Validation
Waiting for author
Wallet
Windows
good first issue
interfaces
macOS
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin/bitcoin!35774
Loading…
Reference in a new issue
No description provided.
Delete branch "macos-cross-ci-test"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently we have some macos cross-built binaries, which are using depends as opposed to brew in the native macos builds, but these binaries are not being tested, culminating in silent breakages like #35771
Build
test_bitcoin-qtinmacos_cross, and test the binaries in a subsequent job.the macos_cross job is removed from
ci-matrixas otherwise the newmacos-cross-arm64test job has to wait for all matrix jobs to finish (successfully) before running. This includes some of our slow jobs, and will needlessly inflate CI runtimes.Doing this does add some more boilerplate into ci.yml, but IMO this is acceptable (and the best option currently).
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
External sites
Reviews
See the guideline and AI policy for information on the review process.
If your review is incorrectly listed, please copy-paste
<!--meta-tag:bot-skip-->into the comment that the bot should ignore.Conflicts
No conflicts as of last run.
This must be frozen to
record-frozen-commit, otherwise, the CI will fail due to non-determinism?Seems a bit tedious to use the cache for this? Why not use a artifact, like the pre-existing windows tests and like
d40e61e87c?Why this change?
https://github.com/bitcoin/bitcoin/actions/runs/29913431596/job/88901563802#step:11:2144
I intentionally used cache vs artefact as Warp don't have an [upload|download]-artifact action, and relying on GH infra upload/download speed has been ... not the most ideal thing to do in recent times.
Done ready for next push
Because I didn't realise deploy was already building that :)
Commit will be dropped in next push.
Concept ACK given #35771. Similar to Windows, we should have a CI that is natively testing the release-like cross built bins.
Could rebase, and put this on top of #35838?
Hmm, yeah, the GH cache seemed slow at some point in the past, but is it also true for artifacts?
Side-topic: macOS/Windows are still using the GHA cache and moving Windows was closed in https://github.com/bitcoin/bitcoin/pull/35683
Also, the GHA cache is still 200GB, so maybe it can be reduced again a bit (maybe to 20GB), given that only macOS/Windows are using it?
Also, the windows-cross-to-native tasks are still using artifacts.
No strong opinion. I just wonder if artifcats are also slow and if inconsistent handling is worth it.
@willcl-ark can you do the requested rebase here?
Rebased
No verified findings are available from this review.
Review coverage was incomplete.
Reviewed:
e7ddc816e4bf· Full review report · Previous reportspermalink
Happy to review this pull, but still wondering about this:
Not a blocker. Happy to give this a best-effort review, but I am wondering.
lgtm
nit: Can you move this right next to the windows ones, so that it is easy to see/review the copy-pasted parts?
Done.
Addressed @maflcko's comment, and added the missing timout suggested by ralph in:
git range-diff 0f573277d888d07247197add0a60bf5331cbdc48...e7ddc816e4bf1b84b0013f56c6f7754e2a0406b2This isn't copy-pasted correctly? Maybe use a template?