From 478450d6b320c9c904bff12d871a62fd7e8bab33 Mon Sep 17 00:00:00 2001 From: gengjiawen Date: Fri, 21 Feb 2020 22:31:15 +0800 Subject: [PATCH] build: add asan check in Github action PR-URL: https://github.com/nodejs/node/pull/31902 Reviewed-By: Ben Noordhuis --- .github/workflows/ASAN.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/ASAN.yml diff --git a/.github/workflows/ASAN.yml b/.github/workflows/ASAN.yml new file mode 100644 index 00000000000000..77b8fd530adb52 --- /dev/null +++ b/.github/workflows/ASAN.yml @@ -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