DRAFT: add a freebsd job using systemlibs#33562
DRAFT: add a freebsd job using systemlibs#33562willcl-ark wants to merge 3 commits intobitcoin:masterfrom
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/33562. ReviewsSee the guideline for information on the review process. 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. |
e0c6325 to
8f6d0cc
Compare
.github/workflows/ci.yml
Outdated
| CMAKE_GENERATOR: 'Ninja' | ||
| run: | | ||
| cd ${{ github.workspace }} | ||
| cmake -B build -DWITH_ZMQ=ON -DBUILD_BENCH=ON -DWERROR=ON -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache |
There was a problem hiding this comment.
no strong opinion, but is there a rationale about the scope here? why disable the fuzz binary?
There was a problem hiding this comment.
No opinion from me either, this is just a tranlation mistake from https://github.com/hebasto/bitcoin-core-nightly/blob/36cc3ef2703d6f662e9a96c21db5d83d80e7efb9/.github/workflows/freebsd.yml#L58 where it is indeed enabled.
I will re-enable it in next push.
8f6d0cc to
dadceeb
Compare
A few comments for historical context:
|
|
Yeah, this would be adding FreeBSD to add coverage for a single short-term compile time issue encountered there. Though, we'd still be missing OpenBSD/NetBSD coverage for stuff that is different on those platforms: #33128 (which seems like a long-standing issue that has existed since ever and no one bothered to report?) |
|
🐙 This pull request conflicts with the target branch and needs rebase. |
|
All |
|
Are you still working on this? If not, it can probably be closed |
|
Yeah, from the above it seems like we are happy to just continue running the various *BSDs on nightly jobs. Will close for now. |
This is now configurable as of v1.3.8: https://github.com/vmactions/freebsd-vm/releases/tag/v1.3.8. |
|
Does that mean this job is more viable to add now? |
|
I'd say the opposite: I think we've learned that upstream can control at their will whether to cache something or not. I don't really understand the GHA ecosystem and I think it is horrible (#33562 (comment)), but I guess this is just me and maybe this is fine and we can enable this third-party single-person-maintainer action here? |
Re #33438
Test a basic freebsd job in this repo using cirrus runners to get some info on how long a run will take on Cirrus Runners.
A run on GHA (free) runners is clocking in at around 50 - 60 minutes: https://github.com/willcl-ark/bitcoin/actions/runs/18309856374/job/52135663056
This will need permitting of the
vmactions/freebsd-vm@v1action in this repo. This action seems well-maintained/used, including byrustup, pythonpsutiland a few other notable repos.This job could alternatively be run as a nightly job (but in this repo, rather than elsewhere), but that does not seem to address:
Inspiration taken from https://github.com/hebasto/bitcoin-core-nightly/blob/main/.github/workflows/freebsd.yml