Skip to content

Commit

Permalink
ci: Add configure tests for dlopen
Browse files Browse the repository at this point in the history
Signed-off-by: Lucas De Marchi <[email protected]>
  • Loading branch information
lucasdemarchi committed Dec 4, 2024
1 parent ccaf052 commit 3114741
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
Expand Down

0 comments on commit 3114741

Please sign in to comment.