Skip to content

Commit 3ec4b21

Browse files
committed
build: add asan check in Github action
PR-URL: nodejs#31902 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
1 parent 987a673 commit 3ec4b21

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/ASAN.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: node ASAN
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
ubuntu-build:
7+
runs-on: ubuntu-latest
8+
container: gengjiawen/node-build:2020-02-14
9+
steps:
10+
- uses: actions/checkout@v2
11+
- name: Build
12+
run: |
13+
npx envinfo
14+
./configure --debug --enable-asan --ninja && ninja -C out/Debug
15+
- name: Test
16+
env:
17+
ASAN_OPTIONS: halt_on_error=0
18+
continue-on-error: true
19+
run: |
20+
python3 tools/test.py -J --mode=debug

0 commit comments

Comments
 (0)