From f7237d698db5ac1f486ebe574752acd7126965a9 Mon Sep 17 00:00:00 2001 From: Hugo Trentesaux <hugo.trentesaux@lilo.org> Date: Tue, 6 Jun 2023 11:14:11 +0200 Subject: [PATCH] Update .gitlab-ci.yml file --- .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..47cf5d9 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,20 @@ +# This file is adapted from GitLab template for Rust projects + +# Official language image. Look for the different tagged releases at: +# https://hub.docker.com/r/library/rust/tags/ +image: "rust:latest" + +# Optional: Install a C compiler, cmake and git into the container. +# You will often need this when you (or any of your dependencies) depends on C code. +# before_script: +# - apt-get update -yqq +# - apt-get install -yqq --no-install-recommends build-essential + +build: + stage: build + image: rust + script: + - cargo build --release + artifacts: + paths: + - target/release/gcli -- GitLab