From 311dc908fe6f3b52d5493b4688e6674524176a10 Mon Sep 17 00:00:00 2001 From: John Smith Date: Wed, 24 Nov 2021 16:49:13 -0500 Subject: [PATCH] initial CI attempt --- .gitlab-ci.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 00000000..47c43a7d --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,27 @@ +stages: + - clippy + - test + +############# Clippy Lint +clippy: + stage: clippy + image: rust:latest + tags: + - linux + - amd64 + before_script: + - rustup component add clippy + script: + # - RUSTFLAGS="-D warnings" RUST_BACKTRACE=1 cargo clippy + - RUST_BACKTRACE=1 cargo clippy + +############# Unit Testing +test_linux_amd64: + stage: test + image: rust:latest + tags: + - linux + - amd64 + script: + # - RUSTFLAGS="-D warnings" RUST_BACKTRACE=1 cargo test -- --nocapture + - RUST_BACKTRACE=1 cargo test -- --nocapture