Skip to content

Commit 69901f9

Browse files
committed
Fix ASan build
1 parent 35aef8e commit 69901f9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/push.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,15 @@ jobs:
7272
zts: true
7373
asan: true
7474
name: "LINUX_X64_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}${{ matrix.asan && '_ASAN' || '' }}"
75-
runs-on: ubuntu-22.04
75+
runs-on: ubuntu-${{ !matrix.asan && '22' || '20' }}.04
7676
container:
7777
image: ${{ matrix.asan && 'ubuntu:23.04' || null }}
7878
steps:
7979
- name: git checkout
8080
uses: actions/checkout@v4
81+
# https://github.com/actions/runner-images/issues/9491#issuecomment-1989718917
82+
- name: Fix kernel mmap rnd bits
83+
run: sudo sysctl vm.mmap_rnd_bits=28
8184
- name: apt
8285
uses: ./.github/actions/apt-x64
8386
- name: System info

0 commit comments

Comments
 (0)