mage: Skip Test386 on non-AMD64 architectures

This is to allow "mage check" to run on arm64 on Travis CI.
This commit is contained in:
Anthony Fok 2019-10-31 18:04:54 -06:00
parent c3d433af56
commit c6d69d0c95

View file

@ -134,7 +134,11 @@ func Check() {
return
}
if runtime.GOARCH == "amd64" {
mg.Deps(Test386)
} else {
fmt.Printf("Skip Test386 on %s\n", runtime.GOARCH)
}
mg.Deps(Fmt, Vet)