From a0358ada4086ff273fa3af3a51be44fd5a3f1e16 Mon Sep 17 00:00:00 2001 From: Marijn Suijten Date: Tue, 23 Mar 2021 22:51:22 +0100 Subject: [PATCH] ci: Always build-test the documentation (dox feature) Quite a few issues slipped in over time because the docs are only extended with `embed-lgpl-docs` and provided as artifact as part of a manual action, that isn't clicked often. --- .gitlab-ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 67be4597e..a473e8eac 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -442,6 +442,17 @@ coverage: reports: cobertura: coverage.xml +docs: + extends: .img-nightly + stage: 'extras' + script: + - | + for crate in gstreamer* gstreamer-gl/{egl,wayland,x11}; do + pushd $crate + cargo +nightly doc --color=always --features=dox,embed-lgpl-docs + popd + done + pages: extends: .img-nightly stage: 'deploy'