Provide macOS SDK for the apple cross-build (#26)
The first run of this branch failed: cargo-zigbuild can't cross-link
the *-apple-darwin targets on the Linux runner because zig bundles
glibc/musl but NOT Apple's non-redistributable libSystem/frameworks.
std + iana-time-zone (via chrono) link CoreFoundation, so a macOS SDK
is required (rustls only removed the Security framework, not the SDK
dependency — the earlier "no SDK needed" claim was wrong).
Fetch a pinned macOS SDK (joseluisq/macosx-sdks 12.3, immutable release
asset) and point cargo-zigbuild at it via SDKROOT before the apple
builds; set MACOSX_DEPLOYMENT_TARGET=11.0 for a Big Sur floor. Also add
the macos binaries to the CI artifacts list.
Closes #26
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
SHA:
0ed4a824edd8f3a14b044aca76fdd3b6f9337c97
Author:
CI <ci@anvil.test>
Date:
2026-07-13 01:49
Parents:
6716058
2 files changed
+27
-5
| Type | ||
|---|---|---|
|
|
.anvil.yml | +4 −0 |
|
||
|
|
ci/build-runner.sh | +23 −5 |
|
||