-
Notifications
You must be signed in to change notification settings - Fork 55
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 windows and macos builds in CI #660
Conversation
This also disables Rust incremental builds in the CI for a few reasons: * Incremental builds need a lot of disk space, which we need to protect for Windows builds. * Only the first invocation for each cache key is stored, so the delta between incremental builds grows larger over time. See dtolnay/rust-toolchain#26 for more details.
Using `std::path::Path` to manipulate `Url` paths only has the correct behavior on unix systems where the properties of the paths are nearly identical. This change moves to using unix-style path manipulation regardless of platform. It also adds a utility for safely creating filesystem paths based on `Url` paths for both unix and windows (which is complicated by drive lettering in absolute paths).
Github actions on Windows do not allow running Linux containers. In order to run the same CI on Windows as Linux, we compile toxic HTTP services at test time.
The forked noxious-server takes a little longer to start on MacOS. Using retries ensures we keep trying until the server is ready.
# https://github.com/oguzbilgener/noxious/pull/14 | ||
.PHONY: noxious | ||
noxious: | ||
cargo install --locked --git https://github.com/cbgbt/noxious.git --tag v1.0.5 |
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.
Can we add a tracking issue to make sure we don't forget about this fork.
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.
Yes, I opened one here: #671
Thanks @chipsenkbeil for help with chipsenkbeil/typed-path#8, which made this much easier than it could have been. |
Issue #, if available:
Closes: #349
Closes: #347
Closes: #663
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.