Skip to content

Commit

Permalink
Workaround for ASAN-induced segfaults in Github Ubuntu runner images
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Lange authored and Daniel Lange committed Mar 14, 2024
1 parent 0dac8e7 commit 53bd369
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,11 @@ jobs:
HTOPRC: .github/workflows/htoprc
steps:
- uses: actions/checkout@v4
- name: Fix kernel mmap rnd bits
# High entropy setting in GH runner images >= 20240310.1.0
# causes ASAN random segfaults
# https://github.com/actions/runner-images/issues/9491
run: sudo sysctl vm.mmap_rnd_bits=28
- name: install clang repo
run: |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key 2>/dev/null | sudo apt-key add -
Expand Down

0 comments on commit 53bd369

Please sign in to comment.