-
Notifications
You must be signed in to change notification settings - Fork 468
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
Enable tests on Windows on CI #518
Conversation
# These jobs don't actually test anything, but they're used to tell bors the | ||
# build completed, as there is no practical way to detect when a workflow is | ||
# successful listening to webhooks only. | ||
# | ||
# ALL THE PREVIOUS JOBS NEEDS TO BE ADDED TO THE `needs` SECTION OF THIS JOB! |
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.
This is a realistic way for bors to receive build status from Github Actions, which do a lot of jobs (It's used in rust-lang/rust, rust-lang/clippy, etc. Previously we had to manually manage all job names.)
073a81a
to
e9a5cbb
Compare
(I originally tried to add both macOS and Windows to the CI, but I had a lot of locally non-reproducible errors with macOS, so I opened a windows-only PR for now.) |
Now, this should be ready for review. |
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.
Thanks! I have a few questions.
bors r+ |
Hm, bors-ng doesn't seem to handle the change from fork to bors.toml correctly? Related: bors-ng/bors-ng#806 bors r- |
So, I'll open the PR from this repo's branch with the same commit. |
Closing in favor of #519 |
519: Enable tests on Windows on CI r=taiki-e a=taiki-e Replaces #518 (changing bors-ng configuration from a forked branch doesn't seem to work well...) Co-authored-by: Taiki Endo <[email protected]>
crossbeam has some
cfg(windows)
code, but we don't test on CI. It would be nice to be able to test these with CI.crossbeam/crossbeam-utils/src/thread.rs
Line 537 in 4879038
crossbeam/crossbeam-utils/tests/thread.rs
Line 196 in 4879038
Travis's Windows support was experimental and very slow, but GitHub Actions' Windows support relatively fast. Hopefully we can add this to our CI.