This commit is contained in:
parent
04fe7dc643
commit
89d3715a1d
48
.drone.yml
Normal file
48
.drone.yml
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: from-source-amd64
|
||||||
|
platform:
|
||||||
|
os: linux
|
||||||
|
arch: amd64
|
||||||
|
|
||||||
|
environment:
|
||||||
|
GOPROXY: direct
|
||||||
|
GOARCH: amd64
|
||||||
|
GOAMD64: v3
|
||||||
|
GOOS: linux
|
||||||
|
GOTRACEBACK: 2
|
||||||
|
GOEXPERIMENT: "cgocheck2,newinliner"
|
||||||
|
|
||||||
|
workspace:
|
||||||
|
path: /drone/src
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: test
|
||||||
|
image: golang:1.22-alpine3.19
|
||||||
|
commands:
|
||||||
|
- go test -p 1 -failfast -timeout 20m -cover -gcflags=-d=checkptr -v .
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: from-source-arm64
|
||||||
|
platform:
|
||||||
|
os: linux
|
||||||
|
arch: arm64
|
||||||
|
|
||||||
|
environment:
|
||||||
|
GOPROXY: direct
|
||||||
|
GOARCH: arm64
|
||||||
|
GOOS: linux
|
||||||
|
GOTRACEBACK: 2
|
||||||
|
GOEXPERIMENT: "cgocheck2,newinliner"
|
||||||
|
|
||||||
|
workspace:
|
||||||
|
path: /drone/src
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: test
|
||||||
|
image: golang:1.22-alpine3.19
|
||||||
|
commands:
|
||||||
|
- go test -p 1 -failfast -timeout 20m -cover -gcflags=-d=checkptr -v .
|
||||||
|
...
|
Loading…
Reference in a new issue