Skip to content

Commit

Permalink
build: add asan check in Github action
Browse files Browse the repository at this point in the history
PR-URL: #31902
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
  • Loading branch information
gengjiawen authored and codebytere committed Mar 16, 2020
1 parent aa54245 commit 64b328a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ASAN.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 64b328a

Please sign in to comment.