Add build files
This commit is contained in:
parent
7a3e2f9552
commit
ca67db3c6a
|
@ -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
|
Loading…
Reference in New Issue