Add .gitlab-ci.yml

This commit is contained in:
Jan Christian Grünhage 2019-02-06 18:38:09 +00:00
parent f68751df31
commit 32b65a794a
1 changed files with 17 additions and 0 deletions

17
.gitlab-ci.yml Normal file
View File

@ -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"