-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Add NetBSD CI #3965
base: main
Are you sure you want to change the base?
Add NetBSD CI #3965
Conversation
7d1927e
to
f0d2715
Compare
f0d2715
to
2064b7a
Compare
Looks like this assertion in Based on context, it looks like some variadic function in the NetBSD module is tripping up the testing harness. I'm willing to bet it's ...as it's the only function in the entirety of the libc crate that passes a variadic function as a parameter. Potential solutions:
I've gone ahead and opted for 2. at the moment, since I have no experience with the |
075b631
to
5b0164d
Compare
5b0164d
to
b2a4b96
Compare
It appears that adding an exception to the I've temporarily opted to remove the |
Source for changing |
Documentation on |
Documentation that |
Documentation that |
Documentation of correct |
Looks like there are a ton of CI failures scattered across the NetBSD module--too many for me to try to resolve at the moment. I'll try to knock out some more later this week in this PR. |
Thanks for taking a look at this, it would be great to have something here. Feel free to put any of the changes into smaller PRs that can be merged on their own, it would be good to get any problems fixed even if we aren't testing it right away. Any reason to use GHA rather than Cirrus? Also I don't think we need to test MSRV, we don't do that for other tier2 targets. @semarie it would probably be best if you get involved here. |
curl https://sh.rustup.rs -sSf --output rustup.sh | ||
sh rustup.sh -y --default-toolchain nightly --profile=minimal | ||
. $HOME/.cargo/env |
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.
It would probably be best to just adjust ci/install-rust.sh
as needed (if at all) to do what is needed here.
Honestly, I mostly used it because I knew how to set it up based on past projects (whereas I don't have any familiarity with Cirrus). I would be perfectly fine if someone wanted to move it to a Cirrus setup; based on my preliminary exploring, they seem to run NetBSD VMs on top of Linux just like GHA does (though I could be wrong there). |
There is still some work needed here right? @rustbot author |
☔ The latest upstream changes (presumably #4018) made this pull request unmergeable. Please resolve the merge conflicts. |
CI now has a libc/.github/workflows/ci.yaml Lines 134 to 159 in 93b49b1
prepare script is moved to install-rust.sh then the job could just take a matrix with target and vm to handle both Solaris and NetBSD
|
Description
This PR adds NetBSD to the CI for nightly target and resolves current build/test failures resulting from NetBSD modules.
Fixes #3890
Fixes #3965