From 32b65a794abb9a52b1a04f71d752f7036bb855aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= <517303-jcgruenhage@users.noreply.gitlab.com> Date: Wed, 6 Feb 2019 18:38:09 +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..9b2f4b7 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,17 @@ +# Official language image. Look for the different tagged releases at: +# https://hub.docker.com/r/library/rust/tags/ +image: "rust:latest" + +# Install a C compiler, cmake and git into the container. +before_script: +- apt-get update -yqq +- apt-get install -yqq --no-install-recommends build-essential + +# Use cargo to test the project +build:cargo: + script: + - rustc --version && cargo --version # Print version info for debugging + - cargo build --release + artifacts: + paths: + - "target/release/peshming"