summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNora Widdecke <nora@sequoia-pgp.org>2021-08-23 12:56:45 +0200
committerNora Widdecke <nora@sequoia-pgp.org>2021-10-11 14:54:59 +0200
commitace537e5593ee99dbe2a4255018f58486d151e03 (patch)
tree43dbca910b9ba0b5a6c2d5edef8b6f2d22bc84b9
parented02a339d613c3ad0f207bbb61bbe96a688b9a2d (diff)
ci: Test building documentation in CI.
-rw-r--r--.gitlab-ci.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c30c5476..f2966af4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -200,6 +200,19 @@ codespell:
- $MAKE_TOP codespell CODESPELL_FLAGS=--summary
after_script: []
+doc:
+ tags:
+ - linux
+ stage: build
+ image: registry.gitlab.com/sequoia-pgp/build-docker-image/rust-stable-prebuild:latest
+ script:
+ - cargo doc --no-deps
+ variables:
+ CARGO_TARGET_DIR: /target
+ CARGO_HOME: /cargo
+ RUSTFLAGS: -D warnings -A unused-parens
+ after_script: []
+
rust-stable:
tags:
- linux