]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
CI: Build documentation where tools are available
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Sun, 25 Apr 2021 09:24:46 +0000 (11:24 +0200)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Wed, 19 May 2021 15:22:12 +0000 (17:22 +0200)
.gitlab-ci.yml

index 146559ed2063a799f31c302679281fccf57eec9d..344ed80a4ae880203f167b669848051368348469 100644 (file)
@@ -218,8 +218,9 @@ docker_opensuse-15.3-amd64:
   - MAKE=make
   - which gmake 2>/dev/null >/dev/null && MAKE=gmake
   - $MAKE
-  # Run tests if they are available
   - $MAKE check
+  # Build docs when tools are available
+  - if which linuxdoc pdflatex >/dev/null ; then $MAKE docs ; fi
 
 .build-linux: &build-linux
   <<: *build-base