Skip to content

Commit 54ec4e1

Browse files
authored
Merge pull request #32 from ngoldbaum/asan-stringdtype
add asan to stringdtype build
2 parents e9449e2 + a0cf0b2 commit 54ec4e1

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,14 @@ jobs:
6767
- name: Install stringdtype
6868
working-directory: stringdtype
6969
run: |
70-
python -m build --no-isolation --wheel -Cbuilddir=build
70+
if [ -d "build/" ]
71+
then
72+
rm -r build
73+
fi
74+
meson setup build -Db_sanitize=address,undefined
75+
python -m build --no-isolation --wheel -Cbuilddir=build --config-setting='compile-args=-v'
7176
find ./dist/*.whl | xargs python -m pip install
7277
- name: Run stringdtype tests
7378
working-directory: stringdtype
7479
run: |
75-
pytest -vvv --color=yes
80+
ASAN_OPTIONS=detect_leaks=false LD_PRELOAD=/usr/lib/gcc/x86_64-linux-gnu/11/libasan.so pytest -s -vvv --color=yes

0 commit comments

Comments
 (0)