Skip to content
Snippets Groups Projects
Commit 311c45af authored by Maaz Ahmed's avatar Maaz Ahmed
Browse files

Update pipeline config to include building docs

parent 8367e65b
No related branches found
No related tags found
No related merge requests found
Pipeline #14255 canceled with stages
stages:
- build
- test
- publish
build-job:
build:
stage: build
image: rust
script:
- cargo build
unit-test-job:
rustdoc:
stage: build
image: rust
script:
- cargo doc
artifacts:
paths:
- target/doc
unit-test:
stage: test
image: rust
script:
- cargo test --lib
lint-test-job:
lint-test:
stage: test
image: rust
script:
- cargo clippy
\ No newline at end of file
- cargo clippy
docs:
stage: publish
image: alpine
dependencies:
- rustdoc
script:
- mkdir -p public
- mv target/doc public/doc
artifacts:
paths:
- public
only:
- master
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment