Added Woodpecker build infop
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
Gregory Ballantine 2022-08-05 17:45:52 -04:00
parent 1ff6b671eb
commit 784f64ca16

26
.woodpecker.yml Normal file
View File

@ -0,0 +1,26 @@
pipeline:
test_build:
image: rust:1.62
commands:
- cargo build
build_release:
image: rust:1.62
commands:
- cargo build --release
- "mv target/release/nettest target/release/nettest-${CI_COMMIT_TAG}-linux-x86_64"
- "mv target/release/hdtest target/release/hdtest-${CI_COMMIT_TAG}-linux-x86_64"
when:
event: tag
gitea_release:
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_api_key
base_url: https://git.metaunix.net
files:
- "target/release/*${CI_COMMIT_TAG}-linux-x86_64"
title: "${CI_COMMIT_TAG}"
when:
event: tag