File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -87,14 +87,38 @@ jobs:
8787 - attach_workspace :
8888 at : /go/
8989 - run :
90- name : Build executables
91- command : |
92- go-bindata -o auto-docs/assets.go -prefix dist/ dist/...
93- GOARCH=amd64 GOOS=linux go build -o build/auto-docs.${GOARCH}-${GOOS} ./auto-docs
94- GOARCH=amd64 GOOS=darwin go build -o build/auto-docs.${GOARCH}-${GOOS} ./auto-docs
95- GOARCH=amd64 GOOS=windows go build -o build/auto-docs.${GOARCH}-${GOOS}.exe ./auto-docs
96- GOARCH=386 GOOS=linux go build -o build/auto-docs.${GOARCH}-${GOOS} ./auto-docs
97- GOARCH=386 GOOS=windows go build -o build/auto-docs.${GOARCH}-${GOOS}.exe ./auto-docs
90+ name : Prepare assets
91+ command : go-bindata -o auto-docs/assets.go -prefix dist/ dist/...
92+ - run :
93+ name : Build amd64-linux
94+ environment :
95+ GOARCH : amd64
96+ GOOS : linux
97+ command : go build -o build/auto-docs.${GOARCH}-${GOOS} ./auto-docs
98+ - run :
99+ name : Build amd64-darwin
100+ environment :
101+ GOARCH : amd64
102+ GOOS : darwin
103+ command : go build -o build/auto-docs.${GOARCH}-${GOOS} ./auto-docs
104+ - run :
105+ name : Build amd64-windows
106+ environment :
107+ GOARCH : amd64
108+ GOOS : windows
109+ command : go build -o build/auto-docs.${GOARCH}-${GOOS}.exe ./auto-docs
110+ - run :
111+ name : Build 386-linux
112+ environment :
113+ GOARCH : ' 386'
114+ GOOS : linux
115+ command : go build -o build/auto-docs.${GOARCH}-${GOOS} ./auto-docs
116+ - run :
117+ name : Build 386-windows
118+ environment :
119+ GOARCH : ' 386'
120+ GOOS : windows
121+ command : go build -o build/auto-docs.${GOARCH}-${GOOS}.exe ./auto-docs
98122 - run :
99123 name : Push to github
100124 command : |
@@ -110,9 +134,9 @@ jobs:
110134 docker :
111135 - image : circleci/buildpack-deps:stretch
112136 steps :
113- - setup_remote_docker
114137 - attach_workspace :
115138 at : /go/
139+ - setup_remote_docker
116140 - run :
117141 name : Image Build
118142 command : |
You can’t perform that action at this time.
0 commit comments