Skip to content

Commit 57faa40

Browse files
committed
CI: enable ASAN on ubuntu
1 parent 5598724 commit 57faa40

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/cmake-multi-platform.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ jobs:
7979
run: |
8080
sudo apt install libjson-c-dev
8181
82+
- name: Enable ASAN (linux)
83+
if: startsWith(matrix.os,'ubuntu')
84+
run: |
85+
echo "CMAKE_PLATFORM_SPECIFIC_ARGS=-DCMAKE_C_FLAGS=-fsanitize=address" >> "$env:GITHUB_ENV"
86+
8287
- name: Install json-c (vcpkg)
8388
if: startsWith(matrix.os,'windows')
8489
run: |

0 commit comments

Comments
 (0)