mirror of
https://github.com/optim-enterprises-bv/nDPId.git
synced 2025-10-30 17:57:48 +00:00
Fix systemd CI test.
* CI Fix #3 Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@@ -173,11 +173,15 @@ jobs:
|
|||||||
- name: systemd test
|
- name: systemd test
|
||||||
if: startsWith(matrix.os, 'ubuntu-latest') && startsWith(matrix.compiler, 'gcc')
|
if: startsWith(matrix.os, 'ubuntu-latest') && startsWith(matrix.compiler, 'gcc')
|
||||||
run: |
|
run: |
|
||||||
|
ip -c address
|
||||||
sudo systemctl daemon-reload
|
sudo systemctl daemon-reload
|
||||||
sudo systemctl enable ndpid@lo
|
sudo systemctl enable ndpid@lo
|
||||||
sudo systemctl --wait start ndpid@lo
|
SYSTEMD_RET=0
|
||||||
|
sudo systemctl --wait start ndpid@lo || { SYSTEMD_RET=$?; true; }
|
||||||
|
echo "systemctl returned: ${SYSTEMD_RET}"
|
||||||
sudo systemctl status ndpisrvd.service ndpid@lo.service
|
sudo systemctl status ndpisrvd.service ndpid@lo.service
|
||||||
sudo systemctl show ndpisrvd.service ndpid@lo.service -p SubState,ActiveState
|
sudo systemctl show ndpisrvd.service ndpid@lo.service -p SubState,ActiveState
|
||||||
|
test $SYSTEMD_RET -ne 0 && false
|
||||||
- name: Build against libnDPI-${{ matrix.ndpi_min_version }}
|
- name: Build against libnDPI-${{ matrix.ndpi_min_version }}
|
||||||
if: matrix.upload == false
|
if: matrix.upload == false
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user