projects
/
brevno-suite
/
hugo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3d433a
)
mage: Skip Test386 on non-AMD64 architectures
author
Anthony Fok
<foka@debian.org>
Fri, 1 Nov 2019 00:04:54 +0000
(18:04 -0600)
committer
Anthony Fok
<foka@debian.org>
Fri, 1 Nov 2019 17:03:06 +0000
(11:03 -0600)
This is to allow "mage check" to run on arm64 on Travis CI.
magefile.go
patch
|
blob
|
history
diff --git
a/magefile.go
b/magefile.go
index 14358822ec9d312c7894a9835eec5d19990d35c6..ae53e710bc50ff7034de91c7fe7c5bb382277833 100644
(file)
--- 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)