Skip to content

Commit f0fdbfa

Browse files
committed
ci: enable sanitizers for arm builds
1 parent bd629d4 commit f0fdbfa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/test-suite.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,15 @@ jobs:
4545
host: arm-linux-gnueabihf
4646
compiler: gcc
4747
version: 14
48+
sanitizer: true
4849

4950
- name: ubuntu-arm64-gcc-14
5051
os: ubuntu-24.04
5152
arch: arm64
5253
host: aarch64-linux-gnu
5354
compiler: gcc
5455
version: 14
56+
sanitizer: true
5557

5658
- name: macos-13-amd64-xcode
5759
os: macos-13
@@ -112,6 +114,10 @@ jobs:
112114
set-env CXXFLAGS "$SAN"
113115
set-env LDFLAGS "$SAN"
114116
set-env UBSAN_OPTIONS "print_stacktrace=1"
117+
if [ "${{ matrix.arch }}" != "amd64" ]; then
118+
set-env ASAN_OPTIONS detect_leaks=0
119+
set-env LD_LIBRARY_PATH /usr/${{ matrix.host }}/lib/
120+
fi
115121
fi
116122
117123
- name: Install compiler (clang)

0 commit comments

Comments
 (0)