GCR/.drone.yml
janic 2236dca8e3
All checks were successful
continuous-integration/drone/push Build is passing
Test4
2022-08-22 23:55:57 +02:00

29 lines
438 B
YAML

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:
- cd ./pkg
- go test -v
- go build -o /binaries/CalculateTest_amd64