adept/.woodpecker.yml
Gregory Ballantine 6d1a24cefb
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Added some basic unit tests for some of the utility functions
2022-09-01 14:25:02 -04:00

25 lines
580 B
YAML

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