This commit is contained in:
parent
4ef54af009
commit
27d3667372
1 changed files with 49 additions and 0 deletions
49
.drone.yml
Normal file
49
.drone.yml
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: test
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: test-linux-amd64
|
||||||
|
image: golang
|
||||||
|
environment:
|
||||||
|
GOOS: linux
|
||||||
|
GOARCH: amd64
|
||||||
|
commands:
|
||||||
|
- go get
|
||||||
|
- go test
|
||||||
|
|
||||||
|
- name: test-darwin-amd64
|
||||||
|
image: golang
|
||||||
|
environment:
|
||||||
|
GOOS: darwin
|
||||||
|
GOARCH: amd64
|
||||||
|
commands:
|
||||||
|
- go get
|
||||||
|
- go test
|
||||||
|
|
||||||
|
- name: test-windows-amd64
|
||||||
|
image: golang
|
||||||
|
environment:
|
||||||
|
GOOS: windows
|
||||||
|
GOARCH: amd64
|
||||||
|
commands:
|
||||||
|
- go get
|
||||||
|
- go test
|
||||||
|
|
||||||
|
- name: test-linux-arm64
|
||||||
|
image: golang
|
||||||
|
environment:
|
||||||
|
GOOS: linux
|
||||||
|
GOARCH: arm64
|
||||||
|
commands:
|
||||||
|
- go get
|
||||||
|
- go test
|
||||||
|
|
||||||
|
- name: test-darwin-arm64
|
||||||
|
image: golang
|
||||||
|
environment:
|
||||||
|
GOOS: darwin
|
||||||
|
GOARCH: arm64
|
||||||
|
commands:
|
||||||
|
- go get
|
||||||
|
- go test
|
Loading…
Reference in a new issue