diff mbox series

[3/4] gitlab-ci: add job to run `make check-docs`

Message ID a44d57a7328e5964111ae9b3abc87cba93d9a1d7.1717564310.git.ps@pks.im (mailing list archive)
State Accepted
Commit 401151de9e58f5da7dd6c3d6ce1ffba94c0ed740
Headers show
Series Documentation: improve linting of manpage existence | expand

Commit Message

Patrick Steinhardt June 5, 2024, 5:16 a.m. UTC
Add another job to execute `make check-docs`, which lints our
documentation and makes sure that expected manpages exist. This job
mirrors the same job that we already have for GitHub Actions.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
---
 .gitlab-ci.yml | 9 +++++++++
 1 file changed, 9 insertions(+)
diff mbox series

Patch

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f676959ca0..37b991e080 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -122,3 +122,12 @@  check-whitespace:
     - ./ci/check-whitespace.sh "$CI_MERGE_REQUEST_TARGET_BRANCH_SHA"
   rules:
     - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
+
+documentation:
+  image: ubuntu:latest
+  variables:
+    jobname: Documentation
+  before_script:
+    - ./ci/install-dependencies.sh
+  script:
+    - ./ci/test-documentation.sh