From 3f16585267bb9e22cb1936d1d8852d5cf74f44de Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Graber?= Date: Sat, 30 Aug 2025 00:45:12 -0400 Subject: [PATCH] github: Enable landlock in tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Graber --- .github/workflows/tests.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c2c8ff39f..d42f9bd4f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -87,6 +87,12 @@ jobs: env: CC: ${{ matrix.compiler }} run: | + # Landlock support + landlock=false + if [ -e /usr/include/linux/landlock.h ]; then + landlock=true + fi + # Standard build if [ "${{ matrix.variant }}" = "default" ]; then meson setup build \ @@ -94,6 +100,7 @@ jobs: -Dtests=true \ -Dpam-cgroup=true \ -Dtools-multicall=true \ + -Dlandlock-monitor=${landlock} \ -Dwerror=true \ -Db_lto_mode=default elif [ "${{ matrix.variant }}" = "sanitizer" ]; then -- 2.47.3