github.com/iqoqo/nomad@v0.11.3-0.20200911112621-d7021c74d101/.circleci/config/jobs/build-darwin-binaries.yml (about) 1 executor: go-macos 2 steps: 3 - checkout 4 - run: 5 name: configure PATH 6 command: 7 echo 'export PATH="${GOPATH}/bin:${HOME}/goinstall/go/bin:$PATH"' >> ${BASH_ENV} 8 9 - install-golang: 10 target_directory: ~/goinstall 11 - run: source ${BASH_ENV} && make deps 12 - run: brew install protobuf 13 - run: sudo -E PATH="$GOPATH/bin:${HOME}/goinstall/go/bin:$PATH" make generate-structs 14 - run: source ${BASH_ENV} && make pkg/darwin_amd64.zip 15 - store_artifacts: 16 path: pkg/darwin_amd64.zip 17 destination: /builds/nomad_darwin_amd64.zip