From 4bc3e84bddbae207cf9931f5482b0183f158745e Mon Sep 17 00:00:00 2001 From: finga Date: Sun, 6 Mar 2022 18:18:09 +0100 Subject: [PATCH] fw-rust, readme: Add CI config --- .woodpecker.yml | 28 ++++++++++++++++++++++++++++ README.md | 2 +- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 .woodpecker.yml diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..943053b --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,28 @@ +pipeline: + fmt: + group: default + image: rust_avr + commands: + - cd firmware/rust/ + - cargo fmt --all -- --check + + clippy: + group: default + image: rust_avr + commands: + - cd firmware/rust/ + - cargo clippy --all-features + + doc: + group: default + image: rust_avr + commands: + - cd firmware/rust/ + - cargo doc --all-features + + build: + group: default + image: rust_avr + commands: + - cd firmware/rust/ + - cargo build --all-features diff --git a/README.md b/README.md index 1b02b01..9cef8b6 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Clock Generator +# Clock Generator [![status-badge](https://ci.onders.org/api/badges/finga/clock_generator/status.svg)](https://ci.onders.org/finga/clock_generator) A simple board operating another Si5351 clock generator board.