From: Tom Hromatka Date: Tue, 9 May 2023 20:51:44 +0000 (-0600) Subject: github: Add a workflow to build libcgroup with SYSTEMD undefined X-Git-Tag: v3.1.0~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16fdb8ca2578d7e203e3e0e3a109744d09c5cc96;p=thirdparty%2Flibcgroup.git github: Add a workflow to build libcgroup with SYSTEMD undefined Signed-off-by: Tom Hromatka Reviewed-by: Kamalesh Babulal --- diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index c8348f75..e4549828 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -124,6 +124,24 @@ jobs: run: | cat libcgroup-*/_build/sub/tests/ftests/ftests-wrapper.sh.log + withoutsystemd: + name: Systemd Support Disabled + runs-on: ubuntu-20.04 + + steps: + - name: Install dependencies + run: | + sudo apt-get update + - uses: actions/checkout@v3 + with: + submodules: false + - name: Initialize the directory + uses: ./.github/actions/setup-libcgroup + - name: Reconfigure libcgroup with systemd disabled + run: CFLAGS="$CFLAGS -Werror" ./configure --sysconfdir=/etc --localstatedir=/var --enable-code-coverage --enable-opaque-hierarchy="name=systemd" --enable-python --enable-systemd=no + - name: Build the library + run: make + functionaltestsv1: name: Cgroup v1 Functional Tests runs-on: ubuntu-20.04