]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
github-ci: build documentation on Fedora-31 build
authorJason Ish <jason.ish@oisf.net>
Thu, 19 Mar 2020 18:30:06 +0000 (12:30 -0600)
committerVictor Julien <victor@inliniac.net>
Sat, 4 Apr 2020 11:49:08 +0000 (13:49 +0200)
Install sphinx and latex tools to test the building
of documentation on the Fedora 31 build, including
the PDF.

.github/workflows/builds.yml

index 75650dc5b1ea81c91cd7e0d448e5f19ef0d688a4..fe0222d2c5b3eab3ff377ea076618bb6463adaac 100644 (file)
@@ -246,6 +246,11 @@ jobs:
                 sudo \
                 which \
                 zlib-devel
+      - name: Installing packages to build documentation
+        run: |
+          dnf -y install \
+                python3-sphinx \
+                texlive-scheme-full
       - name: Install cbindgen
         run: cargo install --force cbindgen
       - run: echo "::add-path::$HOME/.cargo/bin"
@@ -255,6 +260,9 @@ jobs:
       - run: ./configure --enable-unittests
       - run: make -j2
       - run: make check
+      - run: make dist
+      - run: test -e doc/devguide/devguide.pdf
+      - run: test -e doc/userguide/userguide.pdf
       - run: make distcheck
       - name: Fetching suricata-verify
         run: git clone https://github.com/OISF/suricata-verify.git