Make macOS support best effort

This commit is contained in:
2026-09-12 18:30:59 +00:00
parent 88e86de03e
commit 5760614834
8 changed files with 52 additions and 18 deletions

View File

@@ -81,7 +81,8 @@ run_go "$newer_toolchain" test ./examples/consumers
run_go "$newer_toolchain" test . -run '^TestLocalDocumentationLinks$'
run_go "$newer_toolchain" test . -run '^TestDependencyImportBoundary$'
for target in linux/amd64 linux/arm64 darwin/amd64 darwin/arm64; do
# Only release-validated targets gate publication; macOS is best-effort.
for target in linux/amd64 linux/arm64; do
target_os=${target%/*}
target_arch=${target#*/}
GOTOOLCHAIN="$newer_toolchain" GOPROXY=off CGO_ENABLED=0 GOOS="$target_os" GOARCH="$target_arch" go build ./...