From 89d3715a1d94156a0e410c3ba251010826b6bd96 Mon Sep 17 00:00:00 2001 From: WeebDataHoarder <57538841+WeebDataHoarder@users.noreply.github.com> Date: Sun, 7 Apr 2024 02:55:38 +0200 Subject: [PATCH] Enable Drone CI --- .drone.yml | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..6fdd947 --- /dev/null +++ b/.drone.yml @@ -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 . +... \ No newline at end of file