From 04d47c34bc2ef32b9f0abf46e0c9d4582d9d8508 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Sun, 22 Oct 2023 20:49:28 -0400 Subject: [PATCH] Fix ci --- .woodpecker.yml | 16 ---------------- .woodpecker/.build.yml | 11 +++++++++++ 2 files changed, 11 insertions(+), 16 deletions(-) delete mode 100644 .woodpecker.yml create mode 100644 .woodpecker/.build.yml 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