511c2e9db2
This replaces all usage of `protoc` with `buf`. See `tools/buf/README.md` for more.
18 lines
543 B
YAML
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
|