summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2020-03-26 23:31:01 +0530
committerAndinus <andinus@nand.sh>2020-03-26 23:31:01 +0530
commitca67db3c6ae21a392442eed0587fc87976de31a3 (patch)
treef2f640b10a817e57c62e3dbe96c857484ee9d9a7
parent7a3e2f9552a063ac99f87e47b38e3fd14919fdf0 (diff)
downloadperseus-ca67db3c6ae21a392442eed0587fc87976de31a3.tar.gz
Add build files
-rw-r--r--build/ci/drone.yml38
1 files changed, 38 insertions, 0 deletions
diff --git a/build/ci/drone.yml b/build/ci/drone.yml
new file mode 100644
index 0000000..945b35b
--- /dev/null
+++ b/build/ci/drone.yml
@@ -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