forked from ethereum/go-ethereum
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: add -dlgo flag in ci.go (ethereum#21824)
This new flag downloads a known version of Go and builds with it. This is meant for environments where we can't easily upgrade the installed Go version. * .travis.yml: remove install step for PR test builders We added this step originally to avoid re-building everything for every test. go test has become much smarter in recent go releases, so we no longer need to install anything here.
- Loading branch information
Showing
6 changed files
with
246 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,6 @@ jobs: | |
env: | ||
- GO111MODULE=on | ||
script: | ||
- go run build/ci.go install | ||
- go run build/ci.go test -coverage $TEST_PACKAGES | ||
|
||
# These are the latest Go versions. | ||
|
@@ -43,7 +42,6 @@ jobs: | |
env: | ||
- GO111MODULE=on | ||
script: | ||
- go run build/ci.go install | ||
- go run build/ci.go test -coverage $TEST_PACKAGES | ||
|
||
- stage: build | ||
|
@@ -55,7 +53,6 @@ jobs: | |
env: | ||
- GO111MODULE=on | ||
script: | ||
- go run build/ci.go install | ||
- go run build/ci.go test -coverage $TEST_PACKAGES | ||
|
||
- stage: build | ||
|
@@ -74,7 +71,6 @@ jobs: | |
- ulimit -S -n $NOFILE | ||
- ulimit -n | ||
- unset -f cd # workaround for https://github.com/travis-ci/travis-ci/issues/8703 | ||
- go run build/ci.go install | ||
- go run build/ci.go test -coverage $TEST_PACKAGES | ||
|
||
# This builder does the Ubuntu PPA upload | ||
|
@@ -99,7 +95,7 @@ jobs: | |
- python-paramiko | ||
script: | ||
- echo '|1|7SiYPr9xl3uctzovOTj4gMwAC1M=|t6ReES75Bo/PxlOPJ6/GsGbTrM0= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA0aKz5UTUndYgIGG7dQBV+HaeuEZJ2xPHo2DS2iSKvUL4xNMSAY4UguNW+pX56nAQmZKIZZ8MaEvSj6zMEDiq6HFfn5JcTlM80UwlnyKe8B8p7Nk06PPQLrnmQt5fh0HmEcZx+JU9TZsfCHPnX7MNz4ELfZE6cFsclClrKim3BHUIGq//t93DllB+h4O9LHjEUsQ1Sr63irDLSutkLJD6RXchjROXkNirlcNVHH/jwLWR5RcYilNX7S5bIkK8NlWPjsn/8Ua5O7I9/YoE97PpO6i73DTGLh5H9JN/SITwCKBkgSDWUt61uPK3Y11Gty7o2lWsBjhBUm2Y38CBsoGmBw==' >> ~/.ssh/known_hosts | ||
- go run build/ci.go debsrc -goversion 1.15 -upload ethereum/ethereum -sftp-user geth-ci -signer "Go Ethereum Linux Builder <[email protected]>" | ||
- go run build/ci.go debsrc -upload ethereum/ethereum -sftp-user geth-ci -signer "Go Ethereum Linux Builder <[email protected]>" | ||
|
||
# This builder does the Linux Azure uploads | ||
- stage: build | ||
|
@@ -119,22 +115,22 @@ jobs: | |
- gcc-multilib | ||
script: | ||
# Build for the primary platforms that Trusty can manage | ||
- go run build/ci.go install | ||
- go run build/ci.go install -dlgo | ||
- go run build/ci.go archive -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds | ||
- go run build/ci.go install -arch 386 | ||
- go run build/ci.go install -dlgo -arch 386 | ||
- go run build/ci.go archive -arch 386 -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds | ||
|
||
# Switch over GCC to cross compilation (breaks 386, hence why do it here only) | ||
- sudo -E apt-get -yq --no-install-suggests --no-install-recommends --force-yes install gcc-arm-linux-gnueabi libc6-dev-armel-cross gcc-arm-linux-gnueabihf libc6-dev-armhf-cross gcc-aarch64-linux-gnu libc6-dev-arm64-cross | ||
- sudo ln -s /usr/include/asm-generic /usr/include/asm | ||
|
||
- GOARM=5 go run build/ci.go install -arch arm -cc arm-linux-gnueabi-gcc | ||
- GOARM=5 go run build/ci.go install -dlgo -arch arm -cc arm-linux-gnueabi-gcc | ||
- GOARM=5 go run build/ci.go archive -arch arm -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds | ||
- GOARM=6 go run build/ci.go install -arch arm -cc arm-linux-gnueabi-gcc | ||
- GOARM=6 go run build/ci.go install -dlgo -arch arm -cc arm-linux-gnueabi-gcc | ||
- GOARM=6 go run build/ci.go archive -arch arm -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds | ||
- GOARM=7 go run build/ci.go install -arch arm -cc arm-linux-gnueabihf-gcc | ||
- GOARM=7 go run build/ci.go install -dlgo -arch arm -cc arm-linux-gnueabihf-gcc | ||
- GOARM=7 go run build/ci.go archive -arch arm -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds | ||
- go run build/ci.go install -arch arm64 -cc aarch64-linux-gnu-gcc | ||
- go run build/ci.go install -dlgo -arch arm64 -cc aarch64-linux-gnu-gcc | ||
- go run build/ci.go archive -arch arm64 -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds | ||
|
||
# This builder does the Linux Azure MIPS xgo uploads | ||
|
@@ -219,7 +215,7 @@ jobs: | |
git: | ||
submodules: false # avoid cloning ethereum/tests | ||
script: | ||
- go run build/ci.go install | ||
- go run build/ci.go install -dlgo | ||
- go run build/ci.go archive -type tar -signer OSX_SIGNING_KEY -upload gethstore/builds | ||
|
||
# Build the iOS framework and upload it to CocoaPods and Azure | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.