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

feat: support goarch=loong64 (#3277)

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Carlos Alexandro Becker 2022-08-03 09:38:09 -03:00 committed by GitHub
parent 631003e1fe
commit 06d0ce0f4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -169,6 +169,7 @@ var (
"linuxmips64le",
"linuxs390x",
"linuxriscv64",
"linuxloong64",
"netbsd386",
"netbsdamd64",
"netbsdarm",
@ -217,6 +218,7 @@ var (
"s390x",
"wasm",
"riscv64",
"loong64",
}
validGoarm = []string{"5", "6", "7"}

View File

@ -31,6 +31,7 @@ func TestAllBuildTargets(t *testing.T) {
"mipsle",
"mips64le",
"riscv64",
"loong64",
},
Goarm: []string{
"6",
@ -84,6 +85,7 @@ func TestAllBuildTargets(t *testing.T) {
"linux_mipsle_softfloat",
"linux_mips64le_hardfloat",
"linux_riscv64",
"linux_loong64",
"darwin_amd64_v1",
"darwin_amd64_v2",
"darwin_amd64_v4",
@ -189,6 +191,7 @@ func TestGoosGoarchCombos(t *testing.T) {
{"linux", "ppc64le", true},
{"linux", "s390x", true},
{"linux", "riscv64", true},
{"linux", "loong64", true},
{"netbsd", "386", true},
{"netbsd", "amd64", true},
{"netbsd", "arm", true},