ci: change docs build command

This commit is contained in:
Felix Krull 2020-07-24 12:31:05 +02:00 committed by Colin Walters
parent 2c3c976828
commit dc69966a9f
1 changed files with 2 additions and 3 deletions

View File

@ -153,7 +153,7 @@ pages:
stage: publish stage: publish
image: rustlang/rust:nightly image: rustlang/rust:nightly
variables: variables:
RUSTDOC_OPTS: >- RUSTDOCFLAGS: >-
-Z unstable-options -Z unstable-options
--extern-html-root-url glib_sys=https://gtk-rs.org/docs --extern-html-root-url glib_sys=https://gtk-rs.org/docs
--extern-html-root-url gobject_sys=https://gtk-rs.org/docs --extern-html-root-url gobject_sys=https://gtk-rs.org/docs
@ -164,8 +164,7 @@ pages:
- curl -L "${SCCACHE_URL}" | tar -C /usr/bin/ -xz --wildcards --strip-components=1 '*/sccache' - curl -L "${SCCACHE_URL}" | tar -C /usr/bin/ -xz --wildcards --strip-components=1 '*/sccache'
script: script:
- make merge-lgpl-docs - make merge-lgpl-docs
- cargo rustdoc --verbose --package ostree-sys --features dox -- ${RUSTDOC_OPTS} - cargo doc --verbose --workspace --features dox --no-deps
- cargo rustdoc --verbose --package ostree --features dox -- ${RUSTDOC_OPTS}
- cp -r target/doc public - cp -r target/doc public
artifacts: artifacts:
paths: paths: