diff --git a/.woodpecker.yml b/.woodpecker.yml deleted file mode 100644 index 74dd84d..0000000 --- a/.woodpecker.yml +++ /dev/null @@ -1,16 +0,0 @@ -steps: - depends: - image: rust:1.73 - commands: - - apt update - - apt install libudev-dev - - build: - image: rust:1.73 - commands: - - cargo build --release - - test: - image: rust:1.73 - commands: - - cargo test diff --git a/.woodpecker/.build.yml b/.woodpecker/.build.yml new file mode 100644 index 0000000..dc78ca2 --- /dev/null +++ b/.woodpecker/.build.yml @@ -0,0 +1,11 @@ +variables: + - &rust_image 'rust:1.73' + +steps: + build: + image: *rust_image + commands: + - apt update + - apt install libudev-dev + - cargo build --release + - cargo test \ No newline at end of file