From 549134ef10d9066b720690ca8bb758e07c29f65b Mon Sep 17 00:00:00 2001 From: Toni Date: Sun, 10 Oct 2021 13:15:38 +0200 Subject: Fix `make dist` and add it to the CI along with `make -C doc text`. Fixes #1324 (#1327) Signed-off-by: Toni Uhlig --- .github/workflows/build.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to '.github') 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: | -- cgit v1.2.3