aboutsummaryrefslogtreecommitdiffstats
path: root/internal/build
Commit message (Collapse)AuthorAgeFilesLines
* .travis, build: autodelete old unstable archives (#13867)Péter Szilágyi2017-04-062-2/+55
| | | | | | | | This commit adds a build step to travis to auto-delete unstable archives older than 14 days (our regular release schedule) from Azure via ci.go purge. The commit also pulls in the latest Azure storage code, also switching over from the old import path (github.com/Azure/azure-sdk-for-go) to the new split one (github.com/Azure/azure-storage-go).
* build: unify vendor skipping logicFelix Lange2017-03-231-0/+28
| | | | | This fixes a recent bug where 'make geth' built everything instead of just geth.
* all: import "context" instead of "golang.org/x/net/context"Felix Lange2017-03-231-11/+2
| | | | | | | | | | There is no need to depend on the old context package now that the minimum Go version is 1.7. The move to "context" eliminates our weird vendoring setup. Some vendored code still uses golang.org/x/net/context and it is now vendored in the normal way. This change triggered new vet checks around context.WithTimeout which didn't fire with golang.org/x/net/context.
* internal/build: use 'git tag --points-at' to get the current tagFelix Lange2016-11-281-1/+6
| | | | This should restore support for building with git 1.x.
* internal/build: add support for git tag in local EnvironmentFelix Lange2016-11-232-3/+9
| | | | | | I didn't add this initially because the command I tried was too slow. The 'git for-each-ref ...' invocation takes 40ms on my machine. That ought to be acceptable.
* .travis, build: Build step to push .aar to Maven CentralPéter Szilágyi2016-11-141-1/+1
|
* all: update license informationFelix Lange2016-11-092-0/+2
|
* build: fix remote path for archive uploads (#3243)Felix Lange2016-11-091-0/+6
| | | | archiveUpload did not handle absolute paths correctly. Fix it by using the basename and ensure that uploads can be tested using -n.
* build: NSIS based Windows installer (#3240)Péter Szilágyi2016-11-091-0/+23
| | | | This commit adds support for creating Windows installers to ci.go
* internal/build: call correct signer methodPéter Szilágyi2016-11-081-1/+1
|
* build, internal/build: misc improvements (#3229)Felix Lange2016-11-031-10/+18
| | | | | | | | | | | | | * travis.yml: don't create darwin/386 builds * build: remove godep remains * internal/build: improve archives - enable compression for zip files - don't write half-complete archives * build: add -unstable to archive names
* travis, build: implement uploading archives to azurePéter Szilágyi2016-11-032-0/+116
|
* Godeps, vendor: convert dependency management to trash (#3198)Péter Szilágyi2016-10-291-5/+4
| | | | | | | | | | | | | | | | | | | | | | | This commit converts the dependency management from Godeps to the vendor folder, also switching the tool from godep to trash. Since the upstream tool lacks a few features proposed via a few PRs, until those PRs are merged in (if), use github.com/karalabe/trash. You can update dependencies via trash --update. All dependencies have been updated to their latest version. Parts of the build system are reworked to drop old notions of Godeps and invocation of the go vet command so that it doesn't run against the vendor folder, as that will just blow up during vetting. The conversion drops OpenCL (and hence GPU mining support) from ethash and our codebase. The short reasoning is that there's noone to maintain and having opencl libs in our deps messes up builds as go install ./... tries to build them, failing with unsatisfied link errors for the C OpenCL deps. golang.org/x/net/context is not vendored in. We expect it to be fetched by the user (i.e. using go get). To keep ci.go builds reproducible the package is "vendored" in build/_vendor.
* internal/build: fix git tag env variable for AppVeyorFelix Lange2016-10-031-1/+1
|
* internal/build: use less edgy command to get the branch nameFelix Lange2016-10-031-1/+3
|
* build: improve debian packagingFelix Lange2016-10-022-8/+120
| | | | | | | | | | This commit tweaks the debian packaging tool: * All build environment metadata can now be overriden on the command line. This allows testing the CI build behaviour locally. * -unstable packages now actually contain the binaries (oops) * packages use Go 1.7 to build * archiving is skipped for PR builds
* build: add ci.go, use it everywhereFelix Lange2016-06-222-0/+299
The new build script, ci.go, replaces some of the older shell scripts. ci.go can compile go-ethereum, run the tests, create release archives and debian source packages.