From: Stefano Stabellini Date: Thu, 6 Feb 2025 02:37:23 +0000 (-0800) Subject: automation: enable UBSAN for debug tests X-Git-Tag: 4.20.0-rc4^0 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=8ef2ac727e21fda3f88a0b4f19eafacdcbe3eedc;p=xen.git automation: enable UBSAN for debug tests automation: enable UBSAN for debug tests Enable CONFIG_UBSAN and CONFIG_UBSAN_FATAL for the ARM64 and x86_64 build jobs, with debug enabled, which are later used for Xen tests on QEMU and/or real hardware. Signed-off-by: Stefano Stabellini Reviewed-by: Michal Orzel Reviewed-by: Andrew Cooper R-Acked-by: Oleksii Kurochko --- diff --git a/automation/gitlab-ci/build.yaml b/automation/gitlab-ci/build.yaml index bc4a8a5ad2..fb55d4ce55 100644 --- a/automation/gitlab-ci/build.yaml +++ b/automation/gitlab-ci/build.yaml @@ -333,6 +333,8 @@ alpine-3.18-gcc-debug: CONFIG_EXPERT=y CONFIG_UNSUPPORTED=y CONFIG_ARGO=y + CONFIG_UBSAN=y + CONFIG_UBSAN_FATAL=y debian-12-x86_64-gcc-debug: extends: .gcc-x86-64-build-debug @@ -419,6 +421,9 @@ alpine-3.18-gcc-debug-arm64: extends: .gcc-arm64-build-debug variables: CONTAINER: alpine:3.18-arm64v8 + EXTRA_XEN_CONFIG: | + CONFIG_UBSAN=y + CONFIG_UBSAN_FATAL=y alpine-3.18-gcc-arm64-randconfig: extends: .gcc-arm64-build