From 50f4589c663c9ac3004d0e6dd07bbca9eae44c4b Mon Sep 17 00:00:00 2001 From: fdai7381 Date: Mon, 16 Jan 2023 22:32:02 +0100 Subject: [PATCH] chore: add .gitlab-ci.yml --- .gitlab-ci.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..d0bd5cb --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,20 @@ +image: "rust:latest" + +default: + before_script: + - rustc --version + - cargo --version + +stages: + - test + - build + +test-code: + stage: test + script: + - cargo test + +build-code: + stage: build + script: + - cargo build --release \ No newline at end of file