Fix ASan build

See https://github.com/actions/runner-images/issues/9491#issuecomment-1989718917

The mentioned workaround doesn't work for us because we run ASan inside Docker.
Instead, we switch to ubuntu-20.04 as the host. The docker setup itself remains
the same.

Closes GH-13757
This commit is contained in:
Ilija Tovilo 2024-03-18 20:10:26 +01:00
parent 50fe64c345
commit 697d1a1c63
No known key found for this signature in database
GPG Key ID: A4F5D403F118200A

View File

@ -72,7 +72,7 @@ jobs:
zts: true
asan: true
name: "LINUX_X64_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}${{ matrix.asan && '_ASAN' || '' }}"
runs-on: ubuntu-22.04
runs-on: ubuntu-${{ !matrix.asan && '22' || '20' }}.04
container:
image: ${{ matrix.asan && 'ubuntu:23.04' || null }}
steps: