From bcbd8c2ac0a88171bddc62666652dbc4180af2c8 Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Thu, 19 Mar 2020 13:30:45 -0600 Subject: [PATCH] github-ci: build documentation on Ubuntu 18.04 --- .github/workflows/builds.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index fe0222d2c5..6bacea7d80 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -319,6 +319,15 @@ jobs: zlib1g \ zlib1g-dev \ exuberant-ctags + - name: Install packages for generating documentation + run: | + DEBIAN_FRONTEND=noninteractive apt -y install \ + sphinx-doc \ + sphinx-common \ + texlive-latex-base \ + texlive-fonts-recommended \ + texlive-fonts-extra \ + texlive-latex-extra - name: Install Coccinelle run: | add-apt-repository -y ppa:npalix/coccinelle @@ -335,6 +344,12 @@ jobs: - name: Running unit tests and cocci checks # Set the concurrency level for cocci. run: CONCURRENCY_LEVEL=2 make check + - run: make dist + - name: Checking that documentation was built + run: | + test -e doc/devguide/devguide.pdf + test -e doc/userguide/userguide.pdf + test -e doc/userguide/suricata.1 - name: Fetching suricata-verify run: git clone https://github.com/OISF/suricata-verify.git - name: Running suricata-verify -- 2.47.2