1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-09-16 09:26:52 +02:00

skipped more goos/goarch combos

check https://github.com/golang/go/issues/10087
This commit is contained in:
Carlos Alexandro Becker
2017-04-21 13:55:22 -03:00
parent 033618c501
commit 1938ae2ae9
2 changed files with 6 additions and 6 deletions

View File

@@ -15,8 +15,8 @@ var valids = []string{
"linuxamd64",
"linuxarm",
"linuxarm64",
"linuxppc64",
"linuxppc64le",
// "linuxppc64", - https://github.com/golang/go/issues/10087
// "linuxppc64le", - https://github.com/golang/go/issues/10087
"linuxmips",
"linuxmipsle",
"linuxmips64",
@@ -26,7 +26,7 @@ var valids = []string{
"netbsdarm",
"openbsd386",
"openbsdamd64",
"openbsdarm",
// "openbsdarm", - https://github.com/golang/go/issues/10087
"plan9386",
"plan9amd64",
"solarisamd64",

View File

@@ -22,8 +22,6 @@ func TestValid(t *testing.T) {
{"linux", "amd64"},
{"linux", "arm"},
{"linux", "arm64"},
{"linux", "ppc64"},
{"linux", "ppc64le"},
{"linux", "mips"},
{"linux", "mipsle"},
{"linux", "mips64"},
@@ -33,7 +31,6 @@ func TestValid(t *testing.T) {
{"netbsd", "arm"},
{"openbsd", "386"},
{"openbsd", "amd64"},
{"openbsd", "arm"},
{"plan9", "386"},
{"plan9", "amd64"},
{"solaris", "amd64"},
@@ -55,6 +52,9 @@ func TestInvalid(t *testing.T) {
{"darwin", "arm64"},
{"windows", "arm"},
{"windows", "arm64"},
{"linux", "ppc64"},
{"linux", "ppc64le"},
{"openbsd", "arm"},
}
for _, p := range platforms {
t.Run(fmt.Sprintf("%v %v is invalid", p.os, p.arch), func(t *testing.T) {