ci: macOS build smoke-test + flake darwin support
Add the two *-apple-darwin targets to rust-toolchain.toml and apple-sdk + libiconv to the flake devShell (darwin only) so the nix toolchain links AppKit; make cargo-zigbuild/zig Linux-only (macOS builds natively). Repoint the throwaway macOS workflow to actually build both darwin targets through the flake on the Tart runner — the first real check of the macOS leg, which can't be verified locally. Delete once release-macos lands.
This commit is contained in:
@@ -18,4 +18,9 @@ targets = [
|
||||
"aarch64-unknown-linux-musl",
|
||||
"x86_64-pc-windows-gnu",
|
||||
"aarch64-pc-windows-gnullvm",
|
||||
# macOS — built natively on the Apple-Silicon Mac runner (aarch64 native,
|
||||
# x86_64 cross). These need Apple's SDK to link, which a Linux runner can't
|
||||
# supply, so they are produced only on the Mac (see docs/ci/adr ADR-ci-003).
|
||||
"aarch64-apple-darwin",
|
||||
"x86_64-apple-darwin",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user