Skip to content
Snippets Groups Projects

add gitlab ci

Merged Hugo Trentesaux requested to merge hugo-gitlab-ci into master
1 file
+ 20
0
Compare changes
  • Side-by-side
  • Inline
.gitlab-ci.yml 0 → 100644
+ 20
0
 
# This file is adapted from GitLab template for Rust projects
 
 
# Official language image. Look for the different tagged releases at:
 
# https://hub.docker.com/r/library/rust/tags/
 
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 --no-install-recommends build-essential
 
 
build:
 
stage: build
 
image: rust
 
script:
 
- cargo build --release
 
artifacts:
 
paths:
 
- target/release/gcli
Loading