elua/.woodpecker/.release.yml

21 lines
400 B
YAML
Executable File

variables:
- &rust_image 'rust:1.76-alpine'
when:
- event: pull_request
steps:
Build - Release:
image: *rust_image
commands:
- apt update
- apt install libudev-dev lua5.4 liblua5.4-dev -y
- cargo build --release
Test - Release:
image: *rust_image
commands:
- apt update
- apt install libudev-dev lua5.4 liblua5.4-dev -y
- cargo test --all --release