diff --git a/.gitlab-ci.yaml b/.gitlab-ci.yaml new file mode 100644 index 0000000..6e19d6b --- /dev/null +++ b/.gitlab-ci.yaml @@ -0,0 +1,18 @@ +lint-job: + stage: lint + image: rust:latest + script: + - cargo fmt --check + - cargo clippy -- -D warnings + +build-job: + stage: build + image: rust:latest + script: + - cargo build --release + +test-job: + stage: test + image: rust:latest + script: + - cargo test --release