From 7be68bd830676009d4e3bf2eeab03919adcec699 Mon Sep 17 00:00:00 2001 From: Skia Date: Sat, 16 Oct 2021 11:27:12 +0000 Subject: [PATCH] Add .gitlab-ci.yml --- .gitlab-ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .gitlab-ci.yml 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