Add .gitlab-ci.yml
parent
f68751df31
commit
32b65a794a
@ -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"
|
Loading…
Reference in New Issue