From: Lucas De Marchi Date: Sat, 30 Nov 2024 20:48:56 +0000 (-0600) Subject: ci: Add configure tests for dlopen X-Git-Tag: v34~26 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=a3467eb0af02eb7ac20ccc0eae60514c28161459;p=thirdparty%2Fkmod.git ci: Add configure tests for dlopen Signed-off-by: Lucas De Marchi Reviewed-by: Emil Velikov Link: https://github.com/kmod-project/kmod/pull/262 --- 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' }}