From 84e8abdb24562255876c18c65f3c0fa4c0ed9900 Mon Sep 17 00:00:00 2001 From: Charles Giessen Date: Wed, 20 Mar 2024 13:50:13 -0500 Subject: [PATCH] Fix CI sanitizer failures --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index df9146bbc..df4e244ae 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -58,6 +58,9 @@ jobs: cmakeVersion: 3.17.2 - run: sudo apt update - run: sudo apt install --yes --no-install-recommends libwayland-dev libxrandr-dev + # This is to combat a bug when using 6.6 linux kernels with thread/address sanitizer + # https://github.com/google/sanitizers/issues/1716 + - run: sudo sysctl vm.mmap_rnd_bits=28 - run: | cmake -S. -B build \ -D CMAKE_BUILD_TYPE=${{ matrix.config }} \