From 08dac04dd82ee8413d3161665bfa975b3caab385 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Wed, 20 Nov 2024 13:09:09 +0100 Subject: [PATCH] CI: `make dist` test (extract archive, run CMake) Signed-off-by: Toni Uhlig --- .github/workflows/build.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8eda444cc..d381008a6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -264,6 +264,14 @@ jobs: if: startsWith(matrix.os, 'macOS') == false && matrix.upload == false run: | make -C ./build dist + tar -xjvf ./nDPId-*.tar.bz2 + cd ./nDPId-* + cmake -S . -B ./build \ + -DENABLE_DBUS=ON -DENABLE_CURL=ON -DENABLE_SYSTEMD=ON \ + ${{ matrix.poll }} ${{ matrix.coverage }} ${{ matrix.sanitizer }} ${{ matrix.ndpi_build }} \ + ${{ matrix.ndpid_examples }} ${{ matrix.ndpid_zlib }} ${{ matrix.ndpid_gcrypt }} ${{ matrix.ndpid_extras }} + cd .. + rm -rf ./nDPId-* - name: CPack DEB if: startsWith(matrix.os, 'macOS') == false run: |