From 04d790432065d9e7acee08227aea22a77637f22d Mon Sep 17 00:00:00 2001 From: Andinus Date: Sat, 25 Apr 2020 20:24:02 +0530 Subject: Add drone ci config --- build/ci/drone.yml | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 build/ci/drone.yml 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 -- cgit 1.4.1-2-gfad0