From 2f08c9cd2b7911d20cc30b315035f5b39789e205 Mon Sep 17 00:00:00 2001 From: "John K. Luebs" Date: Thu, 14 Mar 2024 14:50:16 -0500 Subject: [PATCH] Workaround for https://github.com/actions/runner-images/issues/9491 --- .github/workflows/busted.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/busted.yml b/.github/workflows/busted.yml index 693662d..6738346 100644 --- a/.github/workflows/busted.yml +++ b/.github/workflows/busted.yml @@ -56,6 +56,11 @@ jobs: FSANITIZE: ${{ matrix.os == 'ubuntu-latest' && !matrix.rust && '1' || '' }} FRUST: ${{ matrix.rust && '1' || '' }} + - name: Workaround kernel address randomization and ASAN + # https://github.com/actions/runner-images/issues/9491 + run: sudo sysctl vm.mmap_rnd_bits=28 + if: startsWith(matrix.os, 'ubuntu-') + - name: Run busted tests run: | busted -c -v