mirror of
https://github.com/praetorian-inc/wasmforge
synced 2026-06-22 22:52:31 +00:00
541b4f001c
GitHub-hosted macos-13 (Intel) runners are not reliably available in the praetorian-inc org's pool, so the v1.0.1 release's darwin/amd64 matrix entry sat queued indefinitely and blocked the release job. Replace the two separate darwin matrix entries (amd64 + arm64) with a single darwin/universal entry that runs on macos-latest (ARM64) and: 1. Builds darwin/arm64 natively (CGO clang targets host). 2. Cross-builds darwin/amd64 via `clang -arch x86_64` — the macOS SDK on GitHub-hosted ARM runners is universal, so x86_64 mach-O slices link without any extra SDK install. 3. Combines both into a fat mach-O with `lipo -create`, uploaded as `wasmforge-darwin-universal`. Net change for downstream users: one binary instead of two for macOS, and it Just Works on both Intel and Apple Silicon. linux/amd64 and windows/amd64 matrix entries are unchanged. This fix needs to be cherry-picked into wasmforge-internal so future syncs don't reintroduce the macos-13 dependency.