From daee149271857f1fc4abc447560530f8e9e5e8c5 Mon Sep 17 00:00:00 2001 From: Polochon_street Date: Wed, 27 Dec 2023 23:29:43 +0100 Subject: [PATCH] Add a local CI check script --- .gitignore | 1 + ci_check.sh | 1 + 2 files changed, 2 insertions(+) create mode 100644 .gitignore create mode 100755 ci_check.sh diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..eb5a316 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +target diff --git a/ci_check.sh b/ci_check.sh new file mode 100755 index 0000000..5b0011f --- /dev/null +++ b/ci_check.sh @@ -0,0 +1 @@ +cargo fmt -- --check && cargo clippy --examples --features=serde -- -D warnings && cargo build --verbose && cargo test --verbose && cargo test --verbose --examples && cargo +nightly-2023-02-16 bench --verbose --features=bench --no-run && cargo build --examples --verbose --features=serde