mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Gather info to investigate why push builds fail
This commit is contained in:
parent
22e3bbbf0a
commit
f9d625eb33
2 changed files with 6 additions and 0 deletions
|
|
@ -47,6 +47,8 @@ jobs:
|
||||||
dist: xenial
|
dist: xenial
|
||||||
go: 1.13.x
|
go: 1.13.x
|
||||||
script:
|
script:
|
||||||
|
- cat /proc/cpuinfo
|
||||||
|
- free -h
|
||||||
- go run build/ci.go install
|
- go run build/ci.go install
|
||||||
- go run build/ci.go test -coverage $TEST_PACKAGES
|
- go run build/ci.go test -coverage $TEST_PACKAGES
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -229,6 +229,9 @@ func doInstall(cmdline []string) {
|
||||||
|
|
||||||
if *arch == "" || *arch == runtime.GOARCH {
|
if *arch == "" || *arch == runtime.GOARCH {
|
||||||
goinstall := goTool("install", buildFlags(env)...)
|
goinstall := goTool("install", buildFlags(env)...)
|
||||||
|
if runtime.GOARCH == "arm64" {
|
||||||
|
goinstall.Args = append(goinstall.Args, "-p", "1")
|
||||||
|
}
|
||||||
goinstall.Args = append(goinstall.Args, "-v")
|
goinstall.Args = append(goinstall.Args, "-v")
|
||||||
goinstall.Args = append(goinstall.Args, packages...)
|
goinstall.Args = append(goinstall.Args, packages...)
|
||||||
build.MustRun(goinstall)
|
build.MustRun(goinstall)
|
||||||
|
|
@ -241,6 +244,7 @@ func doInstall(cmdline []string) {
|
||||||
os.RemoveAll(filepath.Join(path, "pkg", runtime.GOOS+"_arm"))
|
os.RemoveAll(filepath.Join(path, "pkg", runtime.GOOS+"_arm"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Seems we are cross compiling, work around forbidden GOBIN
|
// Seems we are cross compiling, work around forbidden GOBIN
|
||||||
goinstall := goToolArch(*arch, *cc, "install", buildFlags(env)...)
|
goinstall := goToolArch(*arch, *cc, "install", buildFlags(env)...)
|
||||||
goinstall.Args = append(goinstall.Args, "-v")
|
goinstall.Args = append(goinstall.Args, "-v")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue