diff options
-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 |