Add drone ci config

This commit is contained in:
Andinus 2020-04-25 20:24:02 +05:30
parent 58bc2e0502
commit 04d7904320
Signed by: andinus
GPG Key ID: B67D55D482A799FD
1 changed files with 51 additions and 0 deletions

51
build/ci/drone.yml Normal file
View File

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