From 3114741f23be5b362db99baec7003ecf0c8f6b39 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Sat, 30 Nov 2024 14:48:56 -0600 Subject: [PATCH] ci: Add configure tests for dlopen Signed-off-by: Lucas De Marchi --- .github/workflows/main.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d2f55ecf..10c7ff20 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -80,8 +80,18 @@ jobs: return 1 fi } + should_pass() { + rm -rf build-setup-test/ + meson setup "$@" build-setup-test/ + } + should_fail -D distconfdir=relative/ should_fail -D moduledir=relative/ + should_fail -D dlopen=nonexistent + should_fail -D xz=disabled -D dlopen=xz + + should_pass -D dlopen=xz + should_pass -D dlopen=xz -D xz=enabled - name: configure (meson) if: ${{ matrix.build == 'meson' }}