From: Jason Ish Date: Thu, 19 Mar 2020 19:30:45 +0000 (-0600) Subject: github-ci: build documentation on Ubuntu 18.04 X-Git-Tag: suricata-6.0.0-beta1~564 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcbd8c2ac0a88171bddc62666652dbc4180af2c8;p=thirdparty%2Fsuricata.git github-ci: build documentation on Ubuntu 18.04 --- 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