From 6f6a63536369dcf2563695e8562fb157372539b5 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Tue, 19 Aug 2025 17:35:23 -0700 Subject: [PATCH] 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 Part-of: --- .gitlab-ci.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index deaaee60f..ec0de53a5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -184,7 +184,17 @@ meson: BUILD_XORG: true BUILD_XVFB: 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: extends: meson