Fix woodpecker ci
ci/woodpecker/push/debug Pipeline failed
Details
ci/woodpecker/push/debug Pipeline failed
Details
This commit is contained in:
parent
10fc7842cf
commit
44bb294dab
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -1 +0,0 @@
|
|||
nightly
|
|
@ -0,0 +1,5 @@
|
|||
[toolchain]
|
||||
channel = "nightly-2023-11-21"
|
||||
#components = [ "rustfmt", "rustc-dev" ]
|
||||
targets = [ "x86_64-unknown-linux-gnu" ]
|
||||
#profile = "minimal"
|
Loading…
Reference in New Issue