Skip to content

Add GitHub Actions CI for Linux, macOS, and Windows builds#1

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/implement-darwin-and-windows-builds
Draft

Add GitHub Actions CI for Linux, macOS, and Windows builds#1
Copilot wants to merge 3 commits intomainfrom
copilot/implement-darwin-and-windows-builds

Conversation

Copy link
Copy Markdown

Copilot AI commented Mar 8, 2026

The project had no GitHub Actions CI and the nix crate was listed as an unconditional dependency, which breaks Windows builds since nix doesn't compile on non-Unix platforms.

  • Cargo.toml: Move nix to [target.'cfg(not(target_os = "windows"))'.dependencies] — the code already gates its usage behind #[cfg(not(target_os = "windows"))] but Cargo still tries to compile unconditional deps on all platforms
  • .github/workflows/ci.yml: Add CI matrix across ubuntu-latest, macos-latest, windows-latest with stable + beta Rust toolchains; runs fmt --check, build, and test

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits March 8, 2026 18:02
…dep platform-conditional

Co-authored-by: mh0pe <8176115+mh0pe@users.noreply.github.com>
Co-authored-by: mh0pe <8176115+mh0pe@users.noreply.github.com>
Copilot AI changed the title [WIP] Add Darwin and Windows builds for project Add GitHub Actions CI for Linux, macOS, and Windows builds Mar 8, 2026
Copilot finished work on behalf of mh0pe March 8, 2026 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants