Skip to content

Commit

Permalink
CI: Add undefined behavior sanitizer checks
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
visitorckw committed Feb 28, 2024
1 parent 6e5e324 commit 17db3b2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ jobs:
make ENABLE_EXT_A=0 ENABLE_JIT=1 clean check
make ENABLE_EXT_F=0 ENABLE_JIT=1 clean check
make ENABLE_EXT_C=0 ENABLE_JIT=1 clean check
- name: undefined behavior test
run: |
make ENABLE_UBSAN=1 clean check
make ENABLE_JIT=1 ENABLE_UBSAN=1 clean check
host-arm64:
needs: [detect-code-related-file-changes]
Expand Down

0 comments on commit 17db3b2

Please sign in to comment.