Skip to content

Commit 17db3b2

Browse files
committed
CI: Add undefined behavior sanitizer checks
Introduce the utilization of UBSan (Undefined Behavior Sanitizer) to identify any instances of undefined behavior within the codebase. The CI pipeline now includes tests specifically designed to catch such behavior.
1 parent 6e5e324 commit 17db3b2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ jobs:
6969
make ENABLE_EXT_A=0 ENABLE_JIT=1 clean check
7070
make ENABLE_EXT_F=0 ENABLE_JIT=1 clean check
7171
make ENABLE_EXT_C=0 ENABLE_JIT=1 clean check
72+
- name: undefined behavior test
73+
run: |
74+
make ENABLE_UBSAN=1 clean check
75+
make ENABLE_JIT=1 ENABLE_UBSAN=1 clean check
7276
7377
host-arm64:
7478
needs: [detect-code-related-file-changes]

0 commit comments

Comments
 (0)