diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..3f4e93f5ea49f5178ff0f424682cfb436f04500e --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,19 @@ +image: "rust:latest" + +before_script: + - 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 + +build: + script: + - cargo deb + artifacts: + paths: + - target/debian/*.deb