Skip to content

Commit

Permalink
Update .slsa-goreleaser.yml matrix build
Browse files Browse the repository at this point in the history
  • Loading branch information
neurlang authored Sep 30, 2024
1 parent 4a1acd9 commit 2ae8a23
Showing 1 changed file with 30 additions and 14 deletions.
44 changes: 30 additions & 14 deletions .slsa-goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,33 @@
# Version for this file.
version: 1
version: 2

# (Optional) List of env variables used during compilation.
env:
- GO111MODULE=on
project_name: goruut

# (Optional) Flags for the compiler.
flags:
- -trimpath

# Entrypoint to compile.
main: ./cmd/goruut/main.go
# Binary output name.
# {{ .Os }} will be replaced by goos field in the config file.
# {{ .Arch }} will be replaced by goarch field in the config file.
binary: goruut-{{ .Os }}-{{ .Arch }}
builds:
- env:
- GO111MODULE=on
- CGO_ENABLED=0
flags:
- -trimpath
main: ./cmd/goruut/main.go
binary: goruut-{{ .Os }}-{{ .Arch }}
goos:
- darwin
- linux
- windows
- freebsd
goarch:
- amd64
- 386
- arm
- arm64
- riscv64
goarm:
- 5
- 6
- 7
ignore:
- goos: darwin
goarch: 386
- goos: freebsd
goarch: arm

0 comments on commit 2ae8a23

Please sign in to comment.