Fix woodpecker ci
ci/woodpecker/push/debug Pipeline failed Details

This commit is contained in:
SeanOMik 2023-12-28 22:40:37 -05:00
parent 10fc7842cf
commit 44bb294dab
Signed by: SeanOMik
GPG Key ID: FEC9E2FC15235964
5 changed files with 43 additions and 12 deletions

View File

@ -1,11 +0,0 @@
variables:
- &rust_image 'rust:1.73'
steps:
build:
image: *rust_image
commands:
- apt update
- apt install libudev-dev
- cargo build --release
- cargo test

18
.woodpecker/.debug.yml Normal file
View File

@ -0,0 +1,18 @@
variables:
- &rust_image 'git.seanomik.net/seanomik/rust-nightly:2023-11-21-bookworm'
steps:
Build - Debug:
image: *rust_image
commands:
- apt update
- apt install libudev-dev -y
- cargo build
Test - Debug:
image: *rust_image
commands:
- apt update
- apt install libudev-dev -y
- cargo test --all

20
.woodpecker/.release.yml Normal file
View File

@ -0,0 +1,20 @@
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
- apt install libudev-dev -y
- cargo build --release
Test - Release:
image: *rust_image
commands:
- apt update
- apt install libudev-dev -y
- cargo test --all --release

View File

@ -1 +0,0 @@
nightly

5
rust-toolchain.toml Normal file
View File

@ -0,0 +1,5 @@
[toolchain]
channel = "nightly-2023-11-21"
#components = [ "rustfmt", "rustc-dev" ]
targets = [ "x86_64-unknown-linux-gnu" ]
#profile = "minimal"