hardware-tests/.woodpecker.yml

26 lines
564 B
YAML
Raw Permalink Normal View History

2022-08-05 17:45:52 -04:00
pipeline:
test_build:
image: rust:1.62
commands:
- cargo build
build_release:
image: rust:1.62
commands:
- cargo build --release
- "mv target/release/bgbench target/release/bgbench-${CI_COMMIT_TAG}-linux-x86_64"
2022-08-05 17:45:52 -04:00
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