diff options
author | Anthony Fok <[email protected]> | 2019-10-31 18:04:54 -0600 |
---|---|---|
committer | Anthony Fok <[email protected]> | 2019-11-01 11:03:06 -0600 |
commit | c6d69d0c95c42915956c210dbac8b884682d4a3e (patch) | |
tree | 4952005fa41b0e1302e9ca896230219cc2d0caa6 /magefile.go | |
parent | c3d433af56071d42aeb3f85854bd30db64ed70b8 (diff) | |
download | hugo-c6d69d0c95c42915956c210dbac8b884682d4a3e.tar.gz hugo-c6d69d0c95c42915956c210dbac8b884682d4a3e.zip |
mage: Skip Test386 on non-AMD64 architectures
This is to allow "mage check" to run on arm64 on Travis CI.
Diffstat (limited to 'magefile.go')
-rw-r--r-- | magefile.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/magefile.go b/magefile.go index 14358822e..ae53e710b 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) |