Skip to content

Commit

Permalink
ICU-22801 Try to add LEAKSANITIZER
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankYFTang authored Jun 17, 2024
1 parent 697cb14 commit 6a8d6c9
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/icu4c.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,20 @@ jobs:
env:
CPPFLAGS: -fsanitize=address
LDFLAGS: -fsanitize=address
# Clang Linux with leak sanitizer.
clang-lsan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: ICU4C with clang and lsan
run: |
cd icu4c/source;
./runConfigureICU --enable-debug --disable-release Linux/clang --disable-renaming --enable-tracing;
make -j -l4.5 check;
env:
CPPFLAGS: -fsanitize=leak
LDFLAGS: -fsanitize=leak
# Clang Linux with undefined-behavior sanitizer.
clang-ubsan:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 6a8d6c9

Please sign in to comment.