]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Reverse config grammar checks and docs builds
authorPetr Špaček <pspacek@isc.org>
Mon, 25 Aug 2025 16:04:33 +0000 (18:04 +0200)
committerPetr Špaček <pspacek@isc.org>
Tue, 26 Aug 2025 10:13:00 +0000 (10:13 +0000)
Make grammar check in CI more user friendly. Previously Sphinx docs
build might have failed because outdated grammar files and this would
have prevented CI from generating grammar file patch.

.gitlab-ci.yml

index 571052d31c19fe83325e95f1491bc09bcf6bd37e..4ab1568f1a347384157eef9541a2629141885542 100644 (file)
@@ -509,13 +509,12 @@ stages:
   stage: docs
   script:
     - *configure
-    - meson compile -C build arm arm-epub man
-    - find build/man/ -maxdepth 2 -name "*.[0-9]" -exec mandoc -T lint "{}" \; | ( ! grep -v -e "skipping paragraph macro. sp after" -e "unknown font, skipping request. ft C" -e "input text line longer than 80 bytes" )
     - test -z "${DOC_CHECK_MISC_CHANGE}" || ninja -C build doc-misc
     - test -z "${DOC_CHECK_MISC_CHANGE}" || cp build/doc/misc/options build/doc/misc/rndc.grammar build/doc/misc/*.zoneopt doc/misc/
     - test -z "${DOC_CHECK_MISC_CHANGE}" || git diff > doc-misc.patch
     - test -z "${DOC_CHECK_MISC_CHANGE}" || if test "$(git status --porcelain --untracked-files=no | wc -l)" -gt "0"; then git status --short; exit 1; fi
-
+    - meson compile -C build arm arm-epub man
+    - find build/man/ -maxdepth 2 -name "*.[0-9]" -exec mandoc -T lint "{}" \; | ( ! grep -v -e "skipping paragraph macro. sp after" -e "unknown font, skipping request. ft C" -e "input text line longer than 80 bytes" )
 
 .respdiff: &respdiff_job
   stage: system