mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
build: updated ci-notes with new Go bundling, only make, don't test
This commit is contained in:
parent
ef3408d6d4
commit
16ee4dde62
2 changed files with 7 additions and 9 deletions
|
|
@ -22,20 +22,18 @@ variables `PPA_SIGNING_KEY` and `PPA_SSH_KEY` on Travis.
|
||||||
|
|
||||||
We want to build go-ethereum with the most recent version of Go, irrespective of the Go
|
We want to build go-ethereum with the most recent version of Go, irrespective of the Go
|
||||||
version that is available in the main Ubuntu repository. In order to make this possible,
|
version that is available in the main Ubuntu repository. In order to make this possible,
|
||||||
our we depend on ~gophers/ubuntu/archive and ~longsleep/ubuntu/golang-backports PPAs. Our
|
we bundle the entire Go sources into our own source archive and start the built job by
|
||||||
source package build-depends on golang-1.11 on Tusty and golang-1.13 on others, which is
|
compiling Go and then using that to build go-ethereum. On Trusty we have a special case
|
||||||
co-installable alongside the regular golang package. PPA dependencies can be edited at
|
requiring the `~gophers/ubuntu/archive` PPA since Trusty can't even build Go itself. PPA
|
||||||
https://launchpad.net/%7Eethereum/+archive/ubuntu/ethereum/+edit-dependencies
|
deps are set at https://launchpad.net/%7Eethereum/+archive/ubuntu/ethereum/+edit-dependencies
|
||||||
|
|
||||||
## Building Packages Locally (for testing)
|
## Building Packages Locally (for testing)
|
||||||
|
|
||||||
You need to run Ubuntu to do test packaging.
|
You need to run Ubuntu to do test packaging.
|
||||||
|
|
||||||
Add the longsleep PPA and install Go 1.13 and Debian packaging tools:
|
Install any version of Go and Debian packaging tools:
|
||||||
|
|
||||||
$ sudo apt-add-repository ppa:longsleep/ubuntu/golang-backports
|
$ sudo apt-get install build-essential golang-go devscripts debhelper python-bzrlib python-paramiko
|
||||||
$ sudo apt-get update
|
|
||||||
$ sudo apt-get install build-essential golang-1.13 devscripts debhelper python-bzrlib python-paramiko
|
|
||||||
|
|
||||||
Create the source packages:
|
Create the source packages:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ export GOCACHE=/tmp/go-build
|
||||||
export GOROOT_BOOTSTRAP={{.GoBootPath}}
|
export GOROOT_BOOTSTRAP={{.GoBootPath}}
|
||||||
|
|
||||||
override_dh_auto_build:
|
override_dh_auto_build:
|
||||||
(cd .go/src && ./all.bash || true)
|
(cd .go/src && ./make.bash)
|
||||||
build/env.sh .go/bin/go run build/ci.go install -git-commit={{.Env.Commit}} -git-branch={{.Env.Branch}} -git-tag={{.Env.Tag}} -buildnum={{.Env.Buildnum}} -pull-request={{.Env.IsPullRequest}}
|
build/env.sh .go/bin/go run build/ci.go install -git-commit={{.Env.Commit}} -git-branch={{.Env.Branch}} -git-tag={{.Env.Tag}} -buildnum={{.Env.Buildnum}} -pull-request={{.Env.IsPullRequest}}
|
||||||
|
|
||||||
override_dh_auto_test:
|
override_dh_auto_test:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue