Add docs build
This commit is contained in:
parent
1d571d7910
commit
93d3a55a1c
|
|
@ -7,6 +7,7 @@ before_script:
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
|
- doc
|
||||||
- publish
|
- publish
|
||||||
|
|
||||||
libostree-sys:
|
libostree-sys:
|
||||||
|
|
@ -49,6 +50,17 @@ libostree_nightly:
|
||||||
- cargo test --verbose --package libostree
|
- cargo test --verbose --package libostree
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
|
|
||||||
|
# docs
|
||||||
|
pages:
|
||||||
|
stage: doc
|
||||||
|
script:
|
||||||
|
- cargo doc --verbose --all-features
|
||||||
|
- cp -r target/doc public
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- public
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
|
||||||
# publish
|
# publish
|
||||||
publish_libostree-sys:
|
publish_libostree-sys:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue