fix(build): disable CGO for darwin builds in goreleaser
CGO cross-compilation for darwin from Linux CI runner fails without osxcross. Since Dolt/federation features are now CGO-optional, darwin builds can use CGO_ENABLED=0. Users who need Dolt features on macOS can build from source with CGO enabled. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
+2
-2
@@ -61,7 +61,7 @@ builds:
|
|||||||
main: ./cmd/bd
|
main: ./cmd/bd
|
||||||
binary: bd
|
binary: bd
|
||||||
env:
|
env:
|
||||||
- CGO_ENABLED=1
|
- CGO_ENABLED=0
|
||||||
goos:
|
goos:
|
||||||
- darwin
|
- darwin
|
||||||
goarch:
|
goarch:
|
||||||
@@ -77,7 +77,7 @@ builds:
|
|||||||
main: ./cmd/bd
|
main: ./cmd/bd
|
||||||
binary: bd
|
binary: bd
|
||||||
env:
|
env:
|
||||||
- CGO_ENABLED=1
|
- CGO_ENABLED=0
|
||||||
goos:
|
goos:
|
||||||
- darwin
|
- darwin
|
||||||
goarch:
|
goarch:
|
||||||
|
|||||||
Reference in New Issue
Block a user