From bd9e726d9786f9dec367e7cd362f6286c96330a6 Mon Sep 17 00:00:00 2001 From: Stephen D <stephen@scd31.com> Date: Wed, 6 Dec 2023 22:21:36 +0000 Subject: [PATCH] add CI --- .gitlab-ci.yml | 14 ++++++++++++++ README.md | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..2dc91ec --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,14 @@ +image: "rust:latest" + +before_script: + - apt-get update + - apt-get install -y protobuf-compiler + - rustup component add rustfmt + - rustup component add clippy + - cargo install cargo-deb + +test: + script: + - cargo fmt -- --check + - cargo clippy --all-targets --all-features -- -D warnings + - cargo test diff --git a/README.md b/README.md index fed0215..d9a2875 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# igate +# cats-igate Reference CATS/FELINET I-gate/digipeater for the Raspberry Pi. Requires an I-Gate board: https://gitlab.scd31.com/cats/pi-hardware -- GitLab