CI actions: fix Ubuntu jobs with sanitizers (#2347)
See: https://github.com/actions/runner-images/issues/9491
This commit is contained in:
@@ -207,6 +207,12 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
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
|
- name: Install Ubuntu Prerequisites
|
||||||
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.arch, 'x86_64')
|
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.arch, 'x86_64')
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user