hardware-tests/.woodpecker.yml
Gregory Ballantine 7a8503ed3e
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Fixed binary file names in releases
2022-02-26 00:46:02 -05:00

29 lines
700 B
YAML

pipeline:
build:
image: golang:1.16
commands:
- go get
- go build
build_release:
image: golang:1.16
commands:
- go get
- GOOS=windows GOARCH=amd64 go build -o dist/bgbench-windows-x86_64-${CI_COMMIT_TAG}.exe
- GOOS=linux GOARCH=amd64 go build -o dist/bgbench-linux-x86_64-${CI_COMMIT_TAG}
- GOOS=darwin GOARCH=amd64 go build -o dist/bgbench-macos-x86_64-${CI_COMMIT_TAG}
when:
event: tag
gitea_release:
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_api_key
base_url: https://git.metaunix.net
files:
- dist/*
title: "${CI_COMMIT_TAG}"
when:
event: tag