Skip to content

Commit

Permalink
Apply workaround, closes #30
Browse files Browse the repository at this point in the history
  • Loading branch information
patricia-gallardo committed Mar 19, 2024
1 parent e9e5437 commit f5e6fe8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,14 @@ jobs:
with:
os: ${{ matrix.configurations.os }}

# Workaround for https://github.com/actions/runner-images/issues/9491
- name: Fix kernel mmap rnd bits
# Asan in llvm 14 provided in ubuntu 22.04 is incompatible with
# high-entropy ASLR in much newer kernels that GitHub runners are
# using leading to random crashes: https://reviews.llvm.org/D148280
if: (matrix.configurations.os == 'ubuntu-22.04') && (matrix.cmake-build-type == 'Debug')
run: sudo sysctl vm.mmap_rnd_bits=28

- name: Create vcpkg build folder
env:
vcpkg_project_root: ${{runner.workspace}}/ms-pacman/build/${{ matrix.configurations.config-preset }}
Expand Down

0 comments on commit f5e6fe8

Please sign in to comment.