2023-12-29 03:40:37 +00:00
|
|
|
variables:
|
|
|
|
- &rust_image 'git.seanomik.net/seanomik/rust-nightly:2023-11-21-bookworm'
|
|
|
|
|
|
|
|
when:
|
|
|
|
- event: pull_request
|
|
|
|
|
|
|
|
steps:
|
|
|
|
Build - Release:
|
|
|
|
image: *rust_image
|
|
|
|
commands:
|
|
|
|
- apt update
|
2024-01-05 04:59:22 +00:00
|
|
|
- apt install libudev-dev lua5.4 liblua5.4-dev -y
|
2023-12-29 03:40:37 +00:00
|
|
|
- cargo build --release
|
|
|
|
|
|
|
|
Test - Release:
|
|
|
|
image: *rust_image
|
|
|
|
commands:
|
|
|
|
- apt update
|
2024-01-05 04:59:22 +00:00
|
|
|
- apt install libudev-dev lua5.4 liblua5.4-dev -y
|
2023-12-29 03:40:37 +00:00
|
|
|
- cargo test --all --release
|