Files
netrunner/.goreleaser.yml
Zach Kelling c519512db7 Disable CGO for cross-compilation releases
CGO_ENABLED=0 uses pure Go fallbacks for lux/accel.
For native builds with CGO acceleration, build locally with CGO_ENABLED=1.
2026-01-26 17:25:57 -08:00

26 lines
666 B
YAML

# ref. https://goreleaser.com/customization/build/
builds:
- id: netrunner
main: ./main.go
binary: netrunner
flags:
- -v
ldflags:
- -X 'github.com/luxfi/netrunner/cmd.Version={{.Version}}'
goos:
- linux
- darwin
goarch:
- amd64
- arm64
env:
# CGO disabled for cross-compilation - uses pure Go fallbacks
# For native builds with CGO acceleration, build locally with CGO_ENABLED=1
- CGO_ENABLED=0
release:
# Repo in which the release will be created.
# Default is extracted from the origin remote URL or empty if its private hosted.
github:
owner: luxfi
name: netrunner