From a2c4cbcba928709dbe8ec0d6f8fc59add864aae1 Mon Sep 17 00:00:00 2001 From: Mroik Date: Wed, 1 Apr 2026 02:10:02 +0200 Subject: Add CI for gitlab Signed-off-by: Mroik --- .gitlab-ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .gitlab-ci.yml (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..207e10d --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,15 @@ +stages: + - correct + +check-format: + stage: correct + image: rust:latest + script: + - rustup component add rustfmt + - cargo fmt --check + +run-tests: + stage: correct + image: rust:1.94.1 + script: + - cargo test -- --test-threads=1 -- cgit v1.3