mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-24 08:49:29 +00:00
Merge pull request #20356 from karalabe/ppa-fix-cigo
build: pull in ci.go dependencies for the PPA builder
This commit is contained in:
commit
0754100464
1 changed files with 8 additions and 4 deletions
12
build/ci.go
12
build/ci.go
|
|
@ -501,10 +501,14 @@ func doDebianSource(cmdline []string) {
|
||||||
// Download and verify the Go source package.
|
// Download and verify the Go source package.
|
||||||
gobundle := downloadGoSources(*goversion, *cachedir)
|
gobundle := downloadGoSources(*goversion, *cachedir)
|
||||||
|
|
||||||
// Download all the dependencies needed to build the sources
|
// Download all the dependencies needed to build the sources and run the ci script
|
||||||
depfetch := goTool("install", "-n", "./...")
|
srcdepfetch := goTool("install", "-n", "./...")
|
||||||
depfetch.Env = append(os.Environ(), "GOPATH="+filepath.Join(*workdir, "modgopath"))
|
srcdepfetch.Env = append(os.Environ(), "GOPATH="+filepath.Join(*workdir, "modgopath"))
|
||||||
build.MustRun(depfetch)
|
build.MustRun(srcdepfetch)
|
||||||
|
|
||||||
|
cidepfetch := goTool("run", "./build/ci.go")
|
||||||
|
cidepfetch.Env = append(os.Environ(), "GOPATH="+filepath.Join(*workdir, "modgopath"))
|
||||||
|
cidepfetch.Run() // Command fails, don't care, we only need the deps to start it
|
||||||
|
|
||||||
// Create Debian packages and upload them.
|
// Create Debian packages and upload them.
|
||||||
for _, pkg := range debPackages {
|
for _, pkg := range debPackages {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue