From ca67db3c6ae21a392442eed0587fc87976de31a3 Mon Sep 17 00:00:00 2001 From: Andinus Date: Thu, 26 Mar 2020 23:31:01 +0530 Subject: Add build files --- build/ci/drone.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 build/ci/drone.yml (limited to 'build/ci') diff --git a/build/ci/drone.yml b/build/ci/drone.yml new file mode 100644 index 0000000..945b35b --- /dev/null +++ b/build/ci/drone.yml @@ -0,0 +1,38 @@ +--- +kind: pipeline +name: go-test + +steps: +- name: test + image: golang:1.13 + commands: + - go test -v ./... + +--- +kind: pipeline +name: go-build + +steps: +- name: build-obsd + image: golang:1.13 + environment: + GOARCH: amd64 + GOOS: openbsd + commands: + - go build ./cmd/perseus + +- name: build-linux + image: golang:1.13 + environment: + GOARCH: amd64 + GOOS: linux + commands: + - go build ./cmd/perseus + +- name: build-darwin + image: golang:1.13 + environment: + GOARCH: amd64 + GOOS: darwin + commands: + - go build ./cmd/perseus -- cgit 1.4.1-2-gfad0