]> xenbits.xensource.com Git - people/royger/xen.git/commitdiff
automation: enable UBSAN for debug tests
authorStefano Stabellini <sstabellini@kernel.org>
Thu, 6 Feb 2025 02:37:23 +0000 (18:37 -0800)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 7 Feb 2025 11:56:01 +0000 (11:56 +0000)
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 <stefano.stabellini@amd.com>
Reviewed-by: Michal Orzel <michal.orzel@amd.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
R-Acked-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
automation/gitlab-ci/build.yaml

index bc4a8a5ad20cd28c1ed0086c5d740ea9c9445b53..fb55d4ce55682035939bc552604ac468b5c349fa 100644 (file)
@@ -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