Skip to content
Permalink
Browse files

mage: Skip Test386 on non-AMD64 architectures

This is to allow "mage check" to run on arm64 on Travis CI.
  • Loading branch information
anthonyfok committed Nov 1, 2019
1 parent c3d433a commit c6d69d0c95c42915956c210dbac8b884682d4a3e
Showing with 5 additions and 1 deletion.
  1. +5 −1 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)

0 comments on commit c6d69d0

Please sign in to comment.
You can’t perform that action at this time.