Skip to content

Commit

Permalink
chore(.goreleaser.yaml): disable darwin builds for amd64 and arm64
Browse files Browse the repository at this point in the history
The darwin builds are disabled because cross-compilation is not working.
  • Loading branch information
samcm committed Feb 24, 2025
1 parent bd79ed3 commit 0848689
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,33 +33,33 @@ builds:
- -s -w -X github.com/ethpandaops/xatu/pkg/proto/xatu.Release={{.Tag}} -X github.com/ethpandaops/xatu/pkg/proto/xatu.GitCommit={{.ShortCommit}} -X github.com/ethpandaops/xatu/pkg/proto/xatu.GOOS=linux -X github.com/ethpandaops/xatu/pkg/proto/xatu.GOARCH=arm64
mod_timestamp: "{{ .CommitTimestamp }}"

- id: darwin-amd64
env:
- CGO_ENABLED=1
- CC=o64-clang
- CXX=o64-clang++
binary: xatu-{{.Version}}
goos:
- darwin
goarch:
- amd64
ldflags:
- -s -w -X github.com/ethpandaops/xatu/pkg/proto/xatu.Release={{.Tag}} -X github.com/ethpandaops/xatu/pkg/proto/xatu.GitCommit={{.ShortCommit}} -X github.com/ethpandaops/xatu/pkg/proto/xatu.GOOS=darwin -X github.com/ethpandaops/xatu/pkg/proto/xatu.GOARCH=amd64
mod_timestamp: "{{ .CommitTimestamp }}"
# - id: darwin-amd64
# env:
# - CGO_ENABLED=1
# - CC=o64-clang
# - CXX=o64-clang++
# binary: xatu-{{.Version}}
# goos:
# - darwin
# goarch:
# - amd64
# ldflags:
# - -s -w -X github.com/ethpandaops/xatu/pkg/proto/xatu.Release={{.Tag}} -X github.com/ethpandaops/xatu/pkg/proto/xatu.GitCommit={{.ShortCommit}} -X github.com/ethpandaops/xatu/pkg/proto/xatu.GOOS=darwin -X github.com/ethpandaops/xatu/pkg/proto/xatu.GOARCH=amd64
# mod_timestamp: "{{ .CommitTimestamp }}"

- id: darwin-arm64
env:
- CGO_ENABLED=1
- CC=o64-clang
- CXX=o64-clang++
binary: xatu-{{.Version}}
goos:
- darwin
goarch:
- arm64
ldflags:
- -s -w -X github.com/ethpandaops/xatu/pkg/proto/xatu.Release={{.Tag}} -X github.com/ethpandaops/xatu/pkg/proto/xatu.GitCommit={{.ShortCommit}} -X github.com/ethpandaops/xatu/pkg/proto/xatu.GOOS=darwin -X github.com/ethpandaops/xatu/pkg/proto/xatu.GOARCH=arm64
mod_timestamp: "{{ .CommitTimestamp }}"
# - id: darwin-arm64
# env:
# - CGO_ENABLED=1
# - CC=o64-clang
# - CXX=o64-clang++
# binary: xatu-{{.Version}}
# goos:
# - darwin
# goarch:
# - arm64
# ldflags:
# - -s -w -X github.com/ethpandaops/xatu/pkg/proto/xatu.Release={{.Tag}} -X github.com/ethpandaops/xatu/pkg/proto/xatu.GitCommit={{.ShortCommit}} -X github.com/ethpandaops/xatu/pkg/proto/xatu.GOOS=darwin -X github.com/ethpandaops/xatu/pkg/proto/xatu.GOARCH=arm64
# mod_timestamp: "{{ .CommitTimestamp }}"
checksum:
name_template: 'checksums.txt'
snapshot:
Expand Down

0 comments on commit 0848689

Please sign in to comment.