Skip to content
Snippets Groups Projects
Commit df821484 authored by Éloïs's avatar Éloïs
Browse files

try to publish doc via gitlab pages

parent 42674ad8
No related branches found
No related tags found
1 merge request!58Resolve "Add crates blockchain, conf, core, dal, message, module, network, tui and ws2p"
stages:
- build_and_tests
- clippy
- fmt
- clippy
- publish
before_script:
......@@ -37,28 +37,28 @@ build_and_tests:nightly:
when: manual
allow_failure: true
clippy:
stage: clippy
fmt:
stage: fmt
image: rustlang/rust:nightly
tags:
- redshift-rs-nightly
before_script:
- export PATH="$HOME/.cargo/bin:$PATH"
- cargo install --force clippy --verbose
- cargo install --force rustfmt-nightly
script:
- cargo clippy --all -- -D warnings --verbose
- cargo fmt -- --check
allow_failure: true
fmt:
stage: fmt
clippy:
stage: clippy
image: rustlang/rust:nightly
tags:
- redshift-rs-nightly
before_script:
- export PATH="$HOME/.cargo/bin:$PATH"
- cargo install --force rustfmt-nightly
- cargo install --force clippy --verbose
script:
- cargo fmt -- --check
- cargo clippy --all -- -D warnings --verbose
allow_failure: true
publish:crate:
......@@ -74,3 +74,20 @@ publish:crate:
- tags
allow_failure: false
when: manual
pages:
stage: publish
tags:
- redshift-rs-stable
before_script:
- export PATH="$HOME/.cargo/bin:$PATH"
script:
- cargo doc
- mv target/doc public
- ls public
artifacts:
untracked: true
paths:
- public
allow_failure: true
when: manual
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment