open-nomad/.circleci/config/jobs/build-binaries.yml
Kris Hicks 511c2e9db2
proto: Switch to using buf (#9308)
This replaces all usage of `protoc` with `buf`. See `tools/buf/README.md` for more.
2020-11-17 07:01:48 -08:00

18 lines
543 B
YAML

executor: go
environment:
# TODO: add ui tag here
GO_TAGS: "codegen_generated"
steps:
- checkout
- run: apt-get update; apt-get install -y sudo unzip zip
- run: make deps
- install-buf
- run: sudo -E PATH="$GOPATH/bin:/usr/local/go/bin:$PATH" make generate-structs
- run: make pkg/windows_amd64.zip pkg/linux_amd64.zip
- store_artifacts:
path: pkg/windows_amd64.zip
destination: /builds/nomad_windows_amd64.zip
- store_artifacts:
path: pkg/linux_amd64.zip
destination: /builds/nomad_linux_amd64.zip