build: add asan check in Github action

PR-URL: https://github.com/nodejs/node/pull/31902
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
pull/32073/head
gengjiawen 2020-02-21 22:31:15 +08:00
parent 987a673395
commit 3ec4b21b1c
1 changed files with 20 additions and 0 deletions

20
.github/workflows/ASAN.yml vendored 100644
View File

@ -0,0 +1,20 @@
name: node ASAN
on: [push, pull_request]
jobs:
ubuntu-build:
runs-on: ubuntu-latest
container: gengjiawen/node-build:2020-02-14
steps:
- uses: actions/checkout@v2
- name: Build
run: |
npx envinfo
./configure --debug --enable-asan --ninja && ninja -C out/Debug
- name: Test
env:
ASAN_OPTIONS: halt_on_error=0
continue-on-error: true
run: |
python3 tools/test.py -J --mode=debug