1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-22 04:08:49 +02:00

allow linux ppc64 and ppc64le builds, as well openbsd arm

This commit is contained in:
Carlos Alexandro Becker 2017-06-05 09:22:14 -03:00
parent 5b332d2358
commit b33b9956b8
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940
2 changed files with 6 additions and 6 deletions

View File

@ -74,11 +74,14 @@ func TestValidGoosGoarchCombos(t *testing.T) {
{"linux", "mipsle"}, {"linux", "mipsle"},
{"linux", "mips64"}, {"linux", "mips64"},
{"linux", "mips64le"}, {"linux", "mips64le"},
{"linux", "ppc64"},
{"linux", "ppc64le"},
{"netbsd", "386"}, {"netbsd", "386"},
{"netbsd", "amd64"}, {"netbsd", "amd64"},
{"netbsd", "arm"}, {"netbsd", "arm"},
{"openbsd", "386"}, {"openbsd", "386"},
{"openbsd", "amd64"}, {"openbsd", "amd64"},
{"openbsd", "arm"},
{"plan9", "386"}, {"plan9", "386"},
{"plan9", "amd64"}, {"plan9", "amd64"},
{"solaris", "amd64"}, {"solaris", "amd64"},
@ -100,9 +103,6 @@ func TestInvalidGoosGoarchCombos(t *testing.T) {
{"darwin", "arm64"}, {"darwin", "arm64"},
{"windows", "arm"}, {"windows", "arm"},
{"windows", "arm64"}, {"windows", "arm64"},
{"linux", "ppc64"},
{"linux", "ppc64le"},
{"openbsd", "arm"},
} }
for _, p := range platforms { for _, p := range platforms {
t.Run(fmt.Sprintf("%v %v is invalid", p.os, p.arch), func(t *testing.T) { t.Run(fmt.Sprintf("%v %v is invalid", p.os, p.arch), func(t *testing.T) {

View File

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