Skip to content

Commit edcd266

Browse files
Add ASAN test execution to build workflow
1 parent 2c9ef41 commit edcd266

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎.github/workflows/build-asan.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
cd uWebSockets.js
2323
cc build.c -DWITH_ASAN && ./a.out
2424
ls dist
25+
cd tests && npm install ws && LD_PRELOAD=$(gcc -print-file-name=libasan.so) node smoke.js && cd ..
2526
# On first run, binaries-asan doesn't exist yet; seed it from binaries so git history is preserved
2627
git fetch origin binaries-asan:binaries-asan 2>/dev/null || git fetch origin binaries:binaries-asan
2728
git checkout binaries-asan

0 commit comments

Comments
 (0)