49 lines
675 B
YAML
49 lines
675 B
YAML
---
|
|
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
|