Add build files

This commit is contained in:
Andinus 2020-03-26 23:31:01 +05:30
parent 7a3e2f9552
commit ca67db3c6a
Signed by: andinus
GPG Key ID: B67D55D482A799FD
1 changed files with 38 additions and 0 deletions

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

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