From 7f1150034da7a21a9b461589e3e6fb38a1d07845 Mon Sep 17 00:00:00 2001 From: janic Date: Mon, 22 Aug 2022 23:49:27 +0200 Subject: [PATCH] Drone --- .drone.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .drone.yaml diff --git a/.drone.yaml b/.drone.yaml new file mode 100644 index 0000000..95e3998 --- /dev/null +++ b/.drone.yaml @@ -0,0 +1,27 @@ +kind: pipeline +type: docker +name: Build Multi-Arch Gitea-CR + +platform: + os: linux + arch: amd64 + +trigger: + branche: + - master + +steps: +# Build binary for each architecture +- name: Test Binaries + image: golang:alpine + volumes: + - name: binaries + path: /binaries + - name: go-cache + path: /go + environment: + GOOS: linux + GOARCH: amd64 + commands: + - go test -v ./pkg/ + - go build -o /binaries/CalculateTest_amd64