From 4f8dab75b20301395479bc3858b39223a095427a Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Fri, 29 Aug 2025 14:43:25 +0200 Subject: [PATCH] Update test helper and all workflows to enble libsystemd build Signed-off-by: Joachim Wiberg --- .github/workflows/build.yml | 2 +- .github/workflows/coverity.yml | 3 ++- .github/workflows/release.yml | 7 ++++--- test/check.sh | 3 ++- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f7880c6f..a8d87af5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,7 +45,7 @@ jobs: run: | ./configure --prefix=/usr --exec-prefix= --sysconfdir=/etc --localstatedir=/var \ --enable-x11-common-plugin --enable-testserv-plugin --with-watchdog \ - --with-keventd \ + --with-keventd --with-libsystemd \ CFLAGS="-fsanitize=address -ggdb" make -j3 clean make -j3 V=1 diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml index 3c5733af..8c03460a 100644 --- a/.github/workflows/coverity.yml +++ b/.github/workflows/coverity.yml @@ -66,7 +66,8 @@ jobs: - name: Configure run: | ./autogen.sh - ./configure --prefix= --enable-x11-common-plugin --with-watchdog --with-keventd + ./configure --prefix= --enable-x11-common-plugin --with-watchdog \ + --with-keventd --with-libsystemd - name: Build run: | export PATH=`pwd`/coverity/bin:$PATH diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 36b3bbc4..532cb105 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,9 +39,10 @@ jobs: - name: Creating Makefiles ... run: | ./autogen.sh - ./configure --prefix=/usr --exec-prefix= --sysconfdir=/etc --localstatedir=/var \ - --enable-x11-common-plugin --enable-testserv-plugin --with-watchdog \ - --with-keventd + ./configure --prefix=/usr --exec-prefix= --sysconfdir=/etc \ + --localstatedir=/var --enable-x11-common-plugin \ + --enable-testserv-plugin --with-watchdog \ + --with-keventd --with-libsystemd - name: Enable unprivileged userns (unshare) run: | sudo sysctl kernel.apparmor_restrict_unprivileged_userns=0 diff --git a/test/check.sh b/test/check.sh index 3c091323..3c847f56 100755 --- a/test/check.sh +++ b/test/check.sh @@ -25,7 +25,8 @@ if [ "$run_make" -eq 1 ]; then fi ./configure --prefix=/usr --exec-prefix= --sysconfdir=/etc --localstatedir=/var \ - --enable-x11-common-plugin --with-watchdog --with-keventd \ + --enable-x11-common-plugin --enable-testserv-plugin --with-watchdog \ + --with-keventd --with-libsystemd \ CFLAGS='-fsanitize=address -ggdb' if [ "$run_make" -eq 1 ]; then