Skip to content

Commit

Permalink
build: Fix CI sanitizer failures
Browse files Browse the repository at this point in the history
  • Loading branch information
aqnuep committed Mar 18, 2024
1 parent 691a6fe commit 34abb30
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/vvl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ jobs:
- uses: hendrikmuhs/[email protected]
with:
key: ${{ matrix.config }}-${{ matrix.sanitize }}-${{matrix.robin_hood}}
# 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: sudo apt-get -qq update && sudo apt-get install -y libwayland-dev xorg-dev
- run: python scripts/tests.py --build --config ${{ matrix.config }} --cmake='-DUSE_ROBIN_HOOD_HASHING=${{matrix.robin_hood}}'
env:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/vvl_sc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ jobs:
run: echo "/usr/lib/ccache" >> $GITHUB_PATH
- name: Set PYTHONPATH
run: echo "PYTHONPATH=$GITHUB_WORKSPACE/external/${{ matrix.config }}/Vulkan-Headers/registry:$PYTHONPATH" >> $GITHUB_ENV
# 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
- name: Build VulkanSC-ValidationLayers
run: |
echo "PYTHONPATH = $PYTHONPATH"
Expand Down

0 comments on commit 34abb30

Please sign in to comment.