1
0
mirror of https://github.com/osrg/gobgp.git synced 2024-05-11 05:55:10 +00:00
Files
osrg-gobgp/.goreleaser.yml
Damien Claisse 69fd66299f goreleaser: improve portability
- Use tags=netgo to ensure net package won't use cgo
- Rebuild stdlib (go build -a) to really disable cgo as it was
  tried in https://github.com/osrg/gobgp/pull/2300
- Remove static ldflags as it would statically compile cgo
2021-02-25 12:52:03 +01:00

44 lines
567 B
YAML

#
# .goreleaser.yml
# Build customization
env:
- GO111MODULE=on
- CGO_ENABLED=0
builds:
- id: gobgp
main: ./cmd/gobgp/
binary: gobgp
flags:
- -a
- -tags=netgo
ldflags: -s
goos:
- linux
goarch:
- amd64
- 386
- arm
- arm64
- id: gobgpd
main: ./cmd/gobgpd/
binary: gobgpd
flags:
- -a
- -tags=netgo
ldflags: -s
goos:
- linux
goarch:
- amd64
- 386
- arm
- arm64
archives:
- id: foo
files:
- LICENSE
- README.md