CI: Build documentation where tools are available

This commit is contained in:
Ondrej Zajicek (work) 2021-04-25 11:24:46 +02:00
parent 656c744080
commit 445d0e699f

View file

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