From: Ilia Shipitsin Date: Sun, 17 Mar 2024 16:01:39 +0000 (+0100) Subject: CI: temporarily adjust kernel entropy to work with ASAN/clang X-Git-Tag: v3.0-dev6~83 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a0fc864;p=thirdparty%2Fhaproxy.git CI: temporarily adjust kernel entropy to work with ASAN/clang clang runtime (shipped with clang14) is not compatible with recent Ubuntu kernels more details: https://github.com/actions/runner-images/issues/9491 --- diff --git a/.github/workflows/vtest.yml b/.github/workflows/vtest.yml index 6adf2a456e..8c461385f8 100644 --- a/.github/workflows/vtest.yml +++ b/.github/workflows/vtest.yml @@ -57,6 +57,17 @@ jobs: run: | echo "key=$(echo ${{ matrix.name }} | sha256sum | awk '{print $1}')" >> $GITHUB_OUTPUT + +# +# temporary hack +# should be revisited after https://github.com/actions/runner-images/issues/9491 is resolved +# + + - name: Setup enthropy + if: ${{ startsWith(matrix.os, 'ubuntu-') }} + run: | + sudo sysctl vm.mmap_rnd_bits=28 + - name: Cache SSL libs if: ${{ matrix.ssl && matrix.ssl != 'stock' && matrix.ssl != 'BORINGSSL=yes' && matrix.ssl != 'QUICTLS=yes' }} id: cache_ssl