1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

feat: support netbsd/arm64 (#4706)

Add support for `goos=netbsd`,`goarch=arm64` build target

Supported since golang/go@d23cba683e. Like
`freebsd/arm64`, it is not documented in the [official
list](https://go.dev/doc/install/source#environment)
This commit is contained in:
Maxime Brunet 2024-03-17 17:35:55 +00:00 committed by GitHub
parent 9ee0185478
commit b614d646ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View File

@ -174,6 +174,7 @@ var (
"netbsd386",
"netbsdamd64",
"netbsdarm",
"netbsdarm64", // not on the official list for some reason, yet its supported on go 1.13+
"openbsd386",
"openbsdamd64",
"openbsdarm",

View File

@ -179,6 +179,7 @@ func TestGoosGoarchCombos(t *testing.T) {
{"freebsd", "386", true},
{"freebsd", "amd64", true},
{"freebsd", "arm", true},
{"freebsd", "arm64", true},
{"illumos", "amd64", true},
{"ios", "arm64", true},
{"linux", "386", true},
@ -197,9 +198,11 @@ func TestGoosGoarchCombos(t *testing.T) {
{"netbsd", "386", true},
{"netbsd", "amd64", true},
{"netbsd", "arm", true},
{"netbsd", "arm64", true},
{"openbsd", "386", true},
{"openbsd", "amd64", true},
{"openbsd", "arm", true},
{"openbsd", "arm64", true},
{"plan9", "386", true},
{"plan9", "amd64", true},
{"plan9", "arm", true},