Skip to content
Snippets Groups Projects

add gitlab ci

Merged Hugo Trentesaux requested to merge hugo-gitlab-ci into master
2 files
+ 30
0
Compare changes
  • Side-by-side
  • Inline
Files
2
.gitlab-ci.yml 0 → 100644
+ 28
0
 
# Official language image. Look for the different tagged releases at:
 
# https://hub.docker.com/r/library/rust/tags/
 
image: "rust:latest"
 
 
stages:
 
- build
 
 
build:
 
stage: build
 
# image used for this build
 
image: rust
 
# build script
 
script:
 
- cargo build --release
 
# output file
 
artifacts:
 
paths:
 
- target/release/gcli
 
# use cache to avoid re-downloading and re-building all dependencies
 
cache:
 
- key:
 
files:
 
- Cargo.lock
 
paths:
 
- target/release
 
# only build gcli when adding a tag
 
only:
 
- tags
 
\ No newline at end of file
Loading