diff options
author | Andinus <andinus@nand.sh> | 2020-04-25 20:24:02 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2020-04-25 20:24:02 +0530 |
commit | 04d790432065d9e7acee08227aea22a77637f22d (patch) | |
tree | 2c9ffe6a66a4c4f10962766cc5f3b74d0465ed63 | |
parent | 58bc2e0502e0e7818ba071329fb7925b1fe246e6 (diff) | |
download | pavo-04d790432065d9e7acee08227aea22a77637f22d.tar.gz |
Add drone ci config
-rw-r--r-- | build/ci/drone.yml | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/build/ci/drone.yml b/build/ci/drone.yml new file mode 100644 index 0000000..2cc363f --- /dev/null +++ b/build/ci/drone.yml @@ -0,0 +1,51 @@ +--- +kind: pipeline +name: testing + +steps: +- name: vet + image: golang:1.13 + commands: + - go vet ./... + +- name: test + image: golang:1.13 + commands: + - go test -v ./... + +--- +kind: pipeline +name: build + +steps: +- name: openbsd-amd64 + image: golang:1.13 + environment: + GOARCH: amd64 + GOOS: openbsd + commands: + - go build + +- name: openbsd-386 + image: golang:1.13 + environment: + GOARCH: 386 + GOOS: openbsd + commands: + - go build + +- name: openbsd-arm + image: golang:1.13 + environment: + GOARCH: arm + GOOS: openbsd + commands: + - go build + +- name: openbsd-arm64 + image: golang:1.13 + environment: + GOARCH: arm64 + GOOS: openbsd + commands: + - go build |