diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 11ae129..19df3eb 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -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 }}