]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Break up compiling go master into different steps
authorMatt Joiner <anacrolix@gmail.com>
Tue, 8 Jan 2019 06:07:11 +0000 (17:07 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Tue, 8 Jan 2019 06:07:11 +0000 (17:07 +1100)
.circleci/config.yml

index 097dba06e3c3e242777fa88de83d6f5abdb9e748..006469b197c39793693abcf4169f40665e42380e 100644 (file)
@@ -18,7 +18,11 @@ jobs:
       - run: echo $GOPATH
       - run: which go
       - run: go version
-      - run: cd /usr/local && sudo rm -r go && sudo mkdir go go1.4 && sudo chown `whoami` go go1.4 && git clone git://github.com/golang/go && cd go && git branch -f -t go1.4 origin/release-branch.go1.4 && cd .. && git clone --single-branch -b go1.4 go go1.4 && cd go1.4/src && ./make.bash && cd ../../go/src && GOROOT_BOOTSTRAP=/usr/local/go1.4 ./make.bash
+      - run: cd /usr/local && sudo rm -r go && sudo mkdir go go1.4 && sudo chown `whoami` go go1.4
+      - run: cd /usr/local && git clone git://github.com/golang/go 
+      - run: cd /usr/local/go && git branch -f -t go1.4 origin/release-branch.go1.4 && cd .. && git clone --single-branch -b go1.4 go go1.4
+      - run: cd /usr/local/go1.4/src && ./make.bash 
+      - run: cd /usr/local/go/src && GOROOT_BOOTSTRAP=/usr/local/go1.4 ./make.bash
       - run: go version
       - checkout
       - run: sudo apt-get update