Skip to content

Commit fc5977a

Browse files
committed
Add tests [4] --filter=[core] --asan
1 parent 922360c commit fc5977a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/core.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,12 @@ jobs:
4747

4848
- name: make
4949
run: |
50-
cmake . -D CODE_COVERAGE=ON -D enable_thread=1
50+
if [[ "$GITHUB_COMMIT_MESSAGE" == *"--asan"* ]]; then
51+
cmake . -D CODE_COVERAGE=ON -D enable_thread=1 -D enable_asan=1
52+
else
53+
cmake . -D CODE_COVERAGE=ON -D enable_thread=1
54+
fi
55+
5156
make VERBOSE=1 -j $(nproc) lib-swoole
5257
5358
- name: make test

0 commit comments

Comments
 (0)