From c6d69d0c95c42915956c210dbac8b884682d4a3e Mon Sep 17 00:00:00 2001 From: Anthony Fok Date: Thu, 31 Oct 2019 18:04:54 -0600 Subject: [PATCH] mage: Skip Test386 on non-AMD64 architectures This is to allow "mage check" to run on arm64 on Travis CI. --- magefile.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/magefile.go b/magefile.go index 14358822ec9..ae53e710bc5 100644 --- 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)