1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-18 03:56:52 +02:00

fix: build windows/arm (#2144)

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
Carlos Alexandro Becker 2021-03-28 12:18:40 -03:00 committed by GitHub
parent 00bf745534
commit aae0d53ac6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 1 deletions

View File

@ -54,6 +54,7 @@ func TestWithDefaults(t *testing.T) {
"linux_mips_softfloat",
"darwin_amd64",
"windows_amd64",
"windows_arm_6",
"linux_arm_6",
},
goBinary: "go1.2.3",

View File

@ -178,6 +178,7 @@ var (
"plan9amd64",
"plan9arm",
"solarisamd64",
"windowsarm",
"windows386",
"windowsamd64",
}

View File

@ -16,6 +16,7 @@ func TestAllBuildTargets(t *testing.T) {
"darwin",
"freebsd",
"openbsd",
"windows",
"js",
},
Goarch: []string{
@ -79,6 +80,10 @@ func TestAllBuildTargets(t *testing.T) {
"openbsd_386",
"openbsd_amd64",
"openbsd_arm64",
"windows_386",
"windows_amd64",
"windows_arm_6",
"windows_arm_7",
"js_wasm",
}, result)
}
@ -126,11 +131,11 @@ func TestGoosGoarchCombos(t *testing.T) {
{"solaris", "amd64", true},
{"windows", "386", true},
{"windows", "amd64", true},
{"windows", "arm", true},
{"js", "wasm", true},
// invalid targets
{"darwin", "386", false},
{"darwin", "arm", false},
{"windows", "arm", false},
{"windows", "arm64", false},
{"windows", "riscv64", false},
}