diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2024-03-14 14:20:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-14 14:20:21 +0100 |
commit | 25c145f26d3e67dc280d439eceb71a6b321b8c68 (patch) | |
tree | 012518de9e41c5da121989fe6e1e6d9b10409e63 /.github/workflows | |
parent | 8fad77991dcf1cc86cbc0100c258d24d0383a462 (diff) |
CI actions: fix Ubuntu jobs with sanitizers (#2347)
See: https://github.com/actions/runner-images/issues/9491
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/build.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c1e6568f6..226835bfd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -207,6 +207,12 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis + - name: Fix kernel mmap rnd bits on Ubuntu + if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.arch, 'x86_64') + run: | + # Workaround for compatinility between latest kernel and sanitizer + # See https://github.com/actions/runner-images/issues/9491 + sudo sysctl vm.mmap_rnd_bits=28 - name: Install Ubuntu Prerequisites if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.arch, 'x86_64') run: | |