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:
parent
00bf745534
commit
aae0d53ac6
@ -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",
|
||||
|
@ -178,6 +178,7 @@ var (
|
||||
"plan9amd64",
|
||||
"plan9arm",
|
||||
"solarisamd64",
|
||||
"windowsarm",
|
||||
"windows386",
|
||||
"windowsamd64",
|
||||
}
|
||||
|
@ -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},
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user