Added Woodpecker build infop
This commit is contained in:
parent
1ff6b671eb
commit
784f64ca16
26
.woodpecker.yml
Normal file
26
.woodpecker.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user