2016-05-25 12:07:57 +00:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
# -*- makefile -*-
|
|
|
|
|
|
|
|
# Uncomment this to turn on verbose mode.
|
|
|
|
#export DH_VERBOSE=1
|
|
|
|
|
2019-09-12 11:23:34 +00:00
|
|
|
# Launchpad rejects Go's access to $HOME/.cache, use custom folder
|
|
|
|
export GOCACHE=/tmp/go-build
|
travis, build, internal: use own Go bundle for PPA builds (#20240)
* build: bump PPAs to Go 1.13 (via longsleep), keep Trusty on 1.11
* travis, build, vendor: use own Go bundle for PPA builds
* travis, build, internal, vendor: smarter Go bundler, own untar
* build: updated ci-notes with new Go bundling, only make, don't test
2019-11-05 13:32:42 +00:00
|
|
|
export GOROOT_BOOTSTRAP={{.GoBootPath}}
|
2019-02-28 14:33:59 +00:00
|
|
|
|
2016-05-25 12:07:57 +00:00
|
|
|
override_dh_auto_build:
|
travis, build, internal: use own Go bundle for PPA builds (#20240)
* build: bump PPAs to Go 1.13 (via longsleep), keep Trusty on 1.11
* travis, build, vendor: use own Go bundle for PPA builds
* travis, build, internal, vendor: smarter Go bundler, own untar
* build: updated ci-notes with new Go bundling, only make, don't test
2019-11-05 13:32:42 +00:00
|
|
|
(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}}
|
2016-05-25 12:07:57 +00:00
|
|
|
|
|
|
|
override_dh_auto_test:
|
|
|
|
|
|
|
|
%:
|
|
|
|
dh $@
|