ci: run builds with most options enabled and most options disabled

We have too many options to run an exhaustive matrix of the combinations,
but this should at least help us catch code that won't compile in many
of the ifdef paths we don't go down in the default configs.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2056>
This commit is contained in:
Alan Coopersmith 2025-08-19 17:35:23 -07:00
parent d03c84b57f
commit 6f6a635363

View file

@ -184,7 +184,17 @@ meson:
BUILD_XORG: true BUILD_XORG: true
BUILD_XVFB: true BUILD_XVFB: true
BUILD_XWAYLAND: true BUILD_XWAYLAND: true
MESON_EXTRA_ARGS: -Dxf86bigfont=true ${MESON_DDX_BUILD_ARGS} MESON_EXTRA_ARGS: ${MESON_DDX_BUILD_ARGS}
meson-enable-options:
extends: meson
variables:
MESON_EXTRA_ARGS: --auto-features=enabled -Dlisten_tcp=true -Dsuid_wrapper=true -Dxf86bigfont=true -Dxcsecurity=true -Dxpbproxy=true -Ddri1=true -Ddri2=true -Ddri3=true -Dlibunwind=true ${MESON_DDX_BUILD_ARGS}
meson-disable-options:
extends: meson
variables:
MESON_EXTRA_ARGS: --auto-features=disabled -Dglamor=false -Dglx=false -Dxdmcp=false -Dxdm-auth-1=false -Dint10=false -Dpciaccess=false -Dudev=false -Dudev_kms=false -Dvgahw=false -Dxace=false -Dxcsecurity=false -Dxinerama=false -Dxv=false -Dxvmc=false -Ddrm=false -Ddri1=false -Ddri2=false -Ddri3=false ${MESON_DDX_BUILD_ARGS}
meson-noglamor: meson-noglamor:
extends: meson extends: meson