From 89721bb560911009de9fce16a86e0873bed801e9 Mon Sep 17 00:00:00 2001 From: Igor Shishkin Date: Sun, 7 Jul 2024 19:03:45 +0300 Subject: [PATCH] Extend build for all platforms Signed-off-by: Igor Shishkin --- .goreleaser.yaml | 42 ++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 40 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index afda7a1..c5a605c 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -9,12 +9,31 @@ builds: env: - CGO_ENABLED=0 goos: + - darwin + - dragonfly + - freebsd - linux + - netbsd + - openbsd + - solaris + - windows goarch: + # x86 - amd64 + - "386" + + # ARM - arm64 + - arm + + # MIPS + - mips64 + - mips64le + - mips + - mipsle goamd64: ["v1", "v2", "v3"] - goarm: ["7"] + goarm: ["6", "7"] + gomips: ["hardfloat", "softfloat"] mod_timestamp: "{{ .CommitTimestamp }}" - id: archived-cli main: ./cmd/cli @@ -58,12 +77,31 @@ builds: env: - CGO_ENABLED=0 goos: + - darwin + - dragonfly + - freebsd - linux + - netbsd + - openbsd + - solaris + - windows goarch: + # x86 - amd64 + - "386" + + # ARM - arm64 + - arm + + # MIPS + - mips64 + - mips64le + - mips + - mipsle goamd64: ["v1", "v2", "v3"] - goarm: ["7"] + goarm: ["6", "7"] + gomips: ["hardfloat", "softfloat"] mod_timestamp: "{{ .CommitTimestamp }}" archives: - format: binary