Skip to content

Commit

Permalink
mage: Skip Test386 on non-AMD64 architectures
Browse files Browse the repository at this point in the history
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 c6d69d0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit c6d69d0

Please sign in to comment.