From 9533bdc61fb7d3da50ca77bffc49d7c05db44c7a Mon Sep 17 00:00:00 2001 From: Patricia Aas Date: Tue, 19 Mar 2024 23:31:37 +0100 Subject: [PATCH] Apply workaround, closes #30 --- .github/workflows/cmake.yml | 8 ++++++++ 1 file changed, 8 insertions(+) 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 }}