build: fix CI sanitizer failures
This is needed because newer linux kernels cause problems for the sanitizers.
This commit is contained in:
parent
b047a21033
commit
be0d1cb452
1 changed files with 3 additions and 0 deletions
3
.github/workflows/continuous_integration.yml
vendored
3
.github/workflows/continuous_integration.yml
vendored
|
|
@ -62,6 +62,9 @@ jobs:
|
|||
uses: hendrikmuhs/ccache-action@faf867a11c028c0b483fb2ae72b6fc8f7d842714 # v1.2.12
|
||||
with:
|
||||
key: ubuntu-22-${{ matrix.cmake_build_type }}-${{ matrix.compiler.cc }}-${{matrix.compiler.cxx}}-${{matrix.flags}}
|
||||
# This is to combat a bug when using 6.6 linux kernels with thread/address sanitizer
|
||||
# https://github.com/google/sanitizers/issues/1716
|
||||
- run: sudo sysctl vm.mmap_rnd_bits=28
|
||||
- run: ./update_glslang_sources.py
|
||||
- name: Configure
|
||||
run: cmake -S . -B build -D CMAKE_BUILD_TYPE=${{ matrix.cmake_build_type }} -D GLSLANG_TESTS=ON
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue