mirror of
https://github.com/kairos-io/kcrypt-challenger.git
synced 2025-04-27 19:35:22 +00:00
Do not use CGO_ENABLED
Seems like it builds the boringcrypto without it with no issues Signed-off-by: Itxaka <itxaka@kairos.io>
This commit is contained in:
parent
457b9e75f5
commit
125ca467f5
@ -1,5 +1,6 @@
|
||||
# Make sure to check the documentation at http://goreleaser.com
|
||||
version: 2
|
||||
project_name: kcrypt-discovery-challenger
|
||||
builds:
|
||||
- env:
|
||||
- CGO_ENABLED=0
|
||||
@ -11,8 +12,9 @@ builds:
|
||||
- arm64
|
||||
binary: '{{ .ProjectName }}'
|
||||
id: default
|
||||
main: ./cmd/discovery/main.go
|
||||
- env:
|
||||
- CGO_ENABLED=1
|
||||
- CGO_ENABLED=0
|
||||
- GOEXPERIMENT=boringcrypto
|
||||
- CGO_LDFLAGS="-ldl"
|
||||
goos:
|
||||
@ -21,8 +23,9 @@ builds:
|
||||
- amd64
|
||||
binary: '{{ .ProjectName }}'
|
||||
id: fips-amd64
|
||||
main: ./cmd/discovery/main.go
|
||||
- env:
|
||||
- CGO_ENABLED=1
|
||||
- CGO_ENABLED=0
|
||||
- GOEXPERIMENT=boringcrypto
|
||||
- CC=aarch64-linux-gnu-gcc
|
||||
- CGO_LDFLAGS="-ldl"
|
||||
@ -32,6 +35,7 @@ builds:
|
||||
- arm64
|
||||
binary: '{{ .ProjectName }}'
|
||||
id: fips-arm64
|
||||
main: ./cmd/discovery/main.go
|
||||
source:
|
||||
enabled: true
|
||||
name_template: '{{ .ProjectName }}-{{ .Tag }}-source'
|
||||
|
Loading…
Reference in New Issue
Block a user