2020-03-23 15:28:54 +00:00
|
|
|
executor: go-macos
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run:
|
|
|
|
name: configure PATH
|
|
|
|
command:
|
|
|
|
echo 'export PATH="${GOPATH}/bin:${HOME}/goinstall/go/bin:$PATH"' >> ${BASH_ENV}
|
|
|
|
|
|
|
|
- install-golang:
|
|
|
|
target_directory: ~/goinstall
|
|
|
|
- run: source ${BASH_ENV} && make deps
|
|
|
|
- run: brew install protobuf
|
2020-05-30 14:29:47 +00:00
|
|
|
- run: PATH="$GOPATH/bin:${HOME}/goinstall/go/bin:$PATH" make generate-structs
|
2020-03-23 15:28:54 +00:00
|
|
|
- run: source ${BASH_ENV} && make pkg/darwin_amd64.zip
|
|
|
|
- store_artifacts:
|
2020-03-23 19:42:44 +00:00
|
|
|
path: pkg/darwin_amd64.zip
|
2020-03-23 15:28:54 +00:00
|
|
|
destination: /builds/nomad_darwin_amd64.zip
|