open-nomad/.circleci/config/jobs/build-binaries.yml

18 lines
546 B
YAML
Raw Normal View History

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-protoc
- 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