0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-08 12:18:42 +00:00

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