diff options
author | Toni <matzeton@googlemail.com> | 2021-10-10 13:15:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-10 13:15:38 +0200 |
commit | 549134ef10d9066b720690ca8bb758e07c29f65b (patch) | |
tree | 17a5e99313461180210ee51657cb6ffe4b5df397 /.github | |
parent | cf931fda6bfb3925555c7bd11d950a886676bcb3 (diff) |
Fix `make dist` and add it to the CI along with `make -C doc text`. Fixes #1324 (#1327)
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fb0ea834a..bdd4dca40 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -115,6 +115,7 @@ jobs: sudo apt-get update sudo apt-get install autoconf automake libtool pkg-config gettext libjson-c-dev flex bison libpcap-dev sudo apt-get install gcc-mingw-w64 libc6-dev + sudo apt-get install doxygen python3-sphinx python3-sphinx-rtd-theme python3-breathe python3-pip - name: Install Ubuntu Prerequisites (libgcrypt) if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.arch, 'x86_64') && !startsWith(matrix.gcrypt, '--disable-gcrypt') run: | @@ -191,6 +192,16 @@ jobs: if: startsWith(matrix.arch, 'x86_64') run: | ./tests/do-dga.sh + - name: Generate tarball + if: startsWith(matrix.os, 'ubuntu-latest') && startsWith(matrix.arch, 'x86_64') + run: | + make dist + - name: Generate documentation + if: startsWith(matrix.os, 'ubuntu-latest') && startsWith(matrix.arch, 'x86_64') + run: | + pip3 install --user sphinxcontrib.swaggerdoc + make -C doc text + make -C doc html - name: Configure nDPI [Mingw-w64] (runs only on ubuntu jobs) if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.arch, 'x86_64') run: | |