From: Tom Hromatka Date: Thu, 18 May 2023 13:13:47 +0000 (-0600) Subject: github: Add a workflow to build libcgroup with samples enabled X-Git-Tag: v3.1.0~59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=753d87b4c86cbd7a2807a2f9a1984b23e1051ea8;p=thirdparty%2Flibcgroup.git github: Add a workflow to build libcgroup with samples enabled Signed-off-by: Tom Hromatka --- diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index e4549828..232b43b5 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -142,6 +142,24 @@ jobs: - name: Build the library run: make + buildsamples: + name: Build Samples + 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 samples enabled + run: CFLAGS="$CFLAGS -Werror" ./configure --sysconfdir=/etc --localstatedir=/var --enable-code-coverage --enable-opaque-hierarchy="name=systemd" --enable-python --enable-samples + - name: Build the library + run: make + functionaltestsv1: name: Cgroup v1 Functional Tests runs-on: ubuntu-20.04