commit c6d69d0c95c42915956c210dbac8b884682d4a3e
parent c3d433af56071d42aeb3f85854bd30db64ed70b8
Author: Anthony Fok <foka@debian.org>
Date: Thu, 31 Oct 2019 18:04:54 -0600
mage: Skip Test386 on non-AMD64 architectures
This is to allow "mage check" to run on arm64 on Travis CI.
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/magefile.go b/magefile.go
@@ -134,7 +134,11 @@ func Check() {
return
}
- mg.Deps(Test386)
+ if runtime.GOARCH == "amd64" {
+ mg.Deps(Test386)
+ } else {
+ fmt.Printf("Skip Test386 on %s\n", runtime.GOARCH)
+ }
mg.Deps(Fmt, Vet)