summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNora Widdecke <nora@sequoia-pgp.org>2021-10-25 17:50:54 +0200
committerNora Widdecke <nora@sequoia-pgp.org>2021-10-28 13:58:41 +0200
commitc577c03ed32988893f30169a1e58d662bb504e8f (patch)
treede3d891d9f0805f6489a027296137ad2ab1d7f47
parent8757edc9f4a8db88d6dd9579c0f423683f547d36 (diff)
ci: Use stable compiler for doc job.
-rw-r--r--.gitlab-ci.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 146ad9a8..83a3049d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -205,8 +205,15 @@ doc:
- linux
stage: build
image: registry.gitlab.com/sequoia-pgp/build-docker-image/rust-stable-prebuild:latest
+ before_script:
+ - if [ -d $CARGO_TARGET_DIR ]; then find $CARGO_TARGET_DIR | wc --lines; du -sh $CARGO_TARGET_DIR; fi
+ - if [ -d $CARGO_HOME ]; then find $CARGO_HOME | wc --lines; du -sh $CARGO_HOME; fi
+ - rustup override set stable
+ - rustc --version
+ - cargo --version
+ - clang --version
script:
- - cargo doc --no-deps
+ - cargo doc --document-private-items --no-deps
variables:
CARGO_TARGET_DIR: /target
CARGO_HOME: /cargo