mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
mage: Skip Test386 on non-AMD64 architectures
This is to allow "mage check" to run on arm64 on Travis CI.
This commit is contained in:
parent
c3d433af56
commit
c6d69d0c95
1 changed files with 5 additions and 1 deletions
|
@ -134,7 +134,11 @@ func Check() {
|
||||||
return
|
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)
|
mg.Deps(Fmt, Vet)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue