Skip to content

Commit b25b673

Browse files
committed
ci: trying to work around sanitizer issues in the new Ubuntu image
1 parent f075e0f commit b25b673

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ jobs:
317317
# for the "Test" step below.
318318
build_with_sanitizer:
319319
name: Build with sanitizers for debugging purposes
320-
runs-on: ubuntu-22.04
320+
runs-on: ubuntu-latest
321321
env:
322322
IGRAPH_CMAKE_EXTRA_ARGS: -DFORCE_COLORED_OUTPUT=ON
323323
steps:
@@ -371,4 +371,5 @@ jobs:
371371
ASAN_OPTIONS: "detect_stack_use_after_return=1"
372372
LSAN_OPTIONS: "suppressions=etc/lsan-suppr.txt:print_suppressions=false"
373373
run: |
374+
sudo sysctl vm.mmap_rnd_bits=28
374375
LD_PRELOAD=/lib/x86_64-linux-gnu/libasan.so.5:/lib/x86_64-linux-gnu/libubsan.so.1 python -m pytest --capture=sys tests

0 commit comments

Comments
 (0)