elua/.woodpecker/.release.yml

19 lines
418 B
YAML
Executable File

variables:
- &rust_image 'rust:1.76-alpine'
when:
- event: pull_request
steps:
Build - Release:
image: *rust_image
commands:
- apk --update add libudev-zero lua5.4 lua5.4-dev musl-dev --no-interactive
- cargo build --release
Test - Release:
image: *rust_image
commands:
- apk --update add libudev-zero lua5.4 lua5.4-dev musl-dev --no-interactive
- cargo test --all --release