Skip to content

Commit 8ef2ac7

Browse files
sstabelliniandyhhp
authored andcommitted
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 <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>
1 parent 26fe09e commit 8ef2ac7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

automation/gitlab-ci/build.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,8 @@ alpine-3.18-gcc-debug:
333333
CONFIG_EXPERT=y
334334
CONFIG_UNSUPPORTED=y
335335
CONFIG_ARGO=y
336+
CONFIG_UBSAN=y
337+
CONFIG_UBSAN_FATAL=y
336338
337339
debian-12-x86_64-gcc-debug:
338340
extends: .gcc-x86-64-build-debug
@@ -419,6 +421,9 @@ alpine-3.18-gcc-debug-arm64:
419421
extends: .gcc-arm64-build-debug
420422
variables:
421423
CONTAINER: alpine:3.18-arm64v8
424+
EXTRA_XEN_CONFIG: |
425+
CONFIG_UBSAN=y
426+
CONFIG_UBSAN_FATAL=y
422427
423428
alpine-3.18-gcc-arm64-randconfig:
424429
extends: .gcc-arm64-build

0 commit comments

Comments
 (0)