From ac142ac76e2ee00a0f4022373c174fd41201cb0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Tue, 26 Mar 2019 14:18:42 +0000 Subject: [PATCH] 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..240908f --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,20 @@ +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 mingw-w64 + +# Use cargo to test the project +test:cargo: + script: + - rustc --version && cargo --version # Print version info for debugging + - cargo test --all --verbose + +build:linux + script: + - cargo build --release + artifacts: + paths: + - target/release/per \ No newline at end of file