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"