Commit 3b66674c authored by Phuntsok Drak-pa's avatar Phuntsok Drak-pa

Add .gitlab-ci.yml

parent a4c1068f
Pipeline #100 failed
image: "rustlang/rust:nightly"
variables:
CARGO_HOME: $CI_PROJECT_DIR/cargo
stages:
- build
- test
- doc
build:
stage: build
strict:
- rustc --version
- cargo --version
- cargo build --verbose
test:
stage: test
script:
- rustc --version
- cargo --version
- cargo test --all --verbose
pages:
stage: doc
script:
- cargo doc --no-deps
- mv target/doc public
- echo '<meta http-equiv="refresh" content="0; url={{ LIBRARY NAME }}">' > public/index.html
artifacts:
paths:
- public
cache:
paths:
- cargo/
- target/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment