diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..a4071f3 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,17 @@ +image: "rust:latest" + +lint:cargo: + stage: build + script: + - rustc --version && cargo --version + - rustup component add rustfmt + - cargo fmt + +build:cargo: + stage: build + script: + - rustc --version && cargo --version + - cargo build --release + artifacts: + paths: + - target/release/swaysome \ No newline at end of file