mirror of
https://github.com/optim-enterprises-bv/nDPId.git
synced 2025-10-29 09:22:23 +00:00
CI: make dist test (extract archive, run CMake)
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@@ -264,6 +264,17 @@ jobs:
|
|||||||
if: startsWith(matrix.os, 'macOS') == false && matrix.upload == false
|
if: startsWith(matrix.os, 'macOS') == false && matrix.upload == false
|
||||||
run: |
|
run: |
|
||||||
make -C ./build dist
|
make -C ./build dist
|
||||||
|
RAND_ID=$(( ( RANDOM ) + 1 ))
|
||||||
|
mkdir "nDPId-dist-${RAND_ID}"
|
||||||
|
cd "nDPId-dist-${RAND_ID}"
|
||||||
|
tar -xjf ../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-dist-${RAND_ID}"
|
||||||
- name: CPack DEB
|
- name: CPack DEB
|
||||||
if: startsWith(matrix.os, 'macOS') == false
|
if: startsWith(matrix.os, 'macOS') == false
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user