]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CI: temporarily adjust kernel entropy to work with ASAN/clang
authorIlia Shipitsin <chipitsine@gmail.com>
Sun, 17 Mar 2024 16:01:39 +0000 (17:01 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 18 Mar 2024 18:54:33 +0000 (19:54 +0100)
clang runtime (shipped with clang14) is not compatible with recent
Ubuntu kernels

more details: https://github.com/actions/runner-images/issues/9491

.github/workflows/vtest.yml

index 6adf2a456e366f6467a054c65daef831e6d734c2..8c461385f8e1404f8f86bc7151248a1b88a7f138 100644 (file)
@@ -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