Skip to content

try reproducing

try reproducing #1414

Workflow file for this run

name: Node.js CI
on:
push:
branches: ["*"]
pull_request:
branches: ["*"]
env:
BUILTIN_PYTHON_VERSION: 3.12.2
jobs:
asan:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Use Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: 18.x
- run: npm install --ignore-scripts
- run: npx @mapbox/node-pre-gyp configure --debug --enable_asan
- run: npx @mapbox/node-pre-gyp build -j max
- run: python3 -m pip install --upgrade pip
- run: pip3 install -r test/requirements.txt
- run: npm test -- --repeats 1000
env:
LD_PRELOAD: /usr/lib/x86_64-linux-gnu/libasan.so.6
LSAN_OPTIONS: suppressions=${{ github.workspace }}/test/napi-leaks-suppression.txt