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 MylesBorins committed Mar 4, 2020
1 parent 70f0460 commit 478450d
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 478450d

Please sign in to comment.