workflow: add systemd integration and check

Intergration of systemd is a feature that enables notification of
a running service to the service manager. The workflow now ensures
compilation with systemd and checks the binary has been built against
libsystemd.
pull/8097/head
Richard McConnell 2 years ago committed by Victor Julien
parent 7f4c1d5e2f
commit 9c2939fb33

@ -531,7 +531,7 @@ jobs:
flags: suricata-verify
fedora-36:
name: Fedora 36 (debug, clang, asan, wshadow, rust-strict)
name: Fedora 36 (debug, clang, asan, wshadow, rust-strict, systemd)
runs-on: ubuntu-latest
container: fedora:36
needs: [prepare-deps, prepare-cbindgen]
@ -578,6 +578,7 @@ jobs:
pkgconfig \
python3-yaml \
sudo \
systemd-devel \
which \
zlib-devel
- uses: actions/checkout@v3.1.0
@ -620,6 +621,8 @@ jobs:
- run: make install
- run: suricata-update -V
- run: suricatasc -h
# Check compilation against systemd
- run: ldd src/suricata | grep libsystemd &> /dev/null
fedora-35:
name: Fedora 35 (debug, clang, asan, wshadow, rust-strict)

Loading…
Cancel
Save