From 7c0c2e76eeef84cdbcc5d2053aed24edb5ab8602 Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Thu, 19 Mar 2020 12:30:06 -0600 Subject: [PATCH] github-ci: build documentation on Fedora-31 build Install sphinx and latex tools to test the building of documentation on the Fedora 31 build, including the PDF. --- .github/workflows/builds.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 75650dc5b1..fe0222d2c5 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -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 -- 2.47.2