diff options
author | Daniel Lange <DLange@git.local> | 2024-03-14 18:51:56 +0100 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2024-03-14 18:53:33 +0100 |
commit | 53bd369be760aaeb5e28cb965e9edcfb3f232d92 (patch) | |
tree | 3fb37f74e897e4acfd41d9ffe1e6063d43ecfac2 | |
parent | 0dac8e7d38ec3aeae901a987717b5177986197e4 (diff) |
Workaround for ASAN-induced segfaults in Github Ubuntu runner images
-rwxr-xr-x | .github/workflows/ci.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7d233463..548f56d9 100755 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 - |