mirror of
https://github.com/kairos-io/kcrypt-challenger.git
synced 2025-08-18 06:27:32 +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
|
# Make sure to check the documentation at http://goreleaser.com
|
||||||
version: 2
|
version: 2
|
||||||
|
project_name: kcrypt-discovery-challenger
|
||||||
builds:
|
builds:
|
||||||
- env:
|
- env:
|
||||||
- CGO_ENABLED=0
|
- CGO_ENABLED=0
|
||||||
@ -11,8 +12,9 @@ builds:
|
|||||||
- arm64
|
- arm64
|
||||||
binary: '{{ .ProjectName }}'
|
binary: '{{ .ProjectName }}'
|
||||||
id: default
|
id: default
|
||||||
|
main: ./cmd/discovery/main.go
|
||||||
- env:
|
- env:
|
||||||
- CGO_ENABLED=1
|
- CGO_ENABLED=0
|
||||||
- GOEXPERIMENT=boringcrypto
|
- GOEXPERIMENT=boringcrypto
|
||||||
- CGO_LDFLAGS="-ldl"
|
- CGO_LDFLAGS="-ldl"
|
||||||
goos:
|
goos:
|
||||||
@ -21,8 +23,9 @@ builds:
|
|||||||
- amd64
|
- amd64
|
||||||
binary: '{{ .ProjectName }}'
|
binary: '{{ .ProjectName }}'
|
||||||
id: fips-amd64
|
id: fips-amd64
|
||||||
|
main: ./cmd/discovery/main.go
|
||||||
- env:
|
- env:
|
||||||
- CGO_ENABLED=1
|
- CGO_ENABLED=0
|
||||||
- GOEXPERIMENT=boringcrypto
|
- GOEXPERIMENT=boringcrypto
|
||||||
- CC=aarch64-linux-gnu-gcc
|
- CC=aarch64-linux-gnu-gcc
|
||||||
- CGO_LDFLAGS="-ldl"
|
- CGO_LDFLAGS="-ldl"
|
||||||
@ -32,6 +35,7 @@ builds:
|
|||||||
- arm64
|
- arm64
|
||||||
binary: '{{ .ProjectName }}'
|
binary: '{{ .ProjectName }}'
|
||||||
id: fips-arm64
|
id: fips-arm64
|
||||||
|
main: ./cmd/discovery/main.go
|
||||||
source:
|
source:
|
||||||
enabled: true
|
enabled: true
|
||||||
name_template: '{{ .ProjectName }}-{{ .Tag }}-source'
|
name_template: '{{ .ProjectName }}-{{ .Tag }}-source'
|
||||||
|
Loading…
Reference in New Issue
Block a user