mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Switch asan build to Ubuntu 24.04
Closes GH-16065
This commit is contained in:
parent
8b7f64fa41
commit
91c06790de
3 changed files with 4 additions and 5 deletions
2
.github/actions/apt-x64/action.yml
vendored
2
.github/actions/apt-x64/action.yml
vendored
|
@ -50,7 +50,7 @@ runs:
|
|||
libreadline-dev \
|
||||
libldap2-dev \
|
||||
libsodium-dev \
|
||||
libargon2-0-dev \
|
||||
libargon2-dev \
|
||||
libmm-dev \
|
||||
libsnmp-dev \
|
||||
postgresql \
|
||||
|
|
6
.github/workflows/push.yml
vendored
6
.github/workflows/push.yml
vendored
|
@ -73,9 +73,7 @@ jobs:
|
|||
zts: true
|
||||
asan: true
|
||||
name: "LINUX_X64_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}${{ matrix.asan && '_ASAN' || '' }}"
|
||||
runs-on: ubuntu-${{ !matrix.asan && '22' || '20' }}.04
|
||||
container:
|
||||
image: ${{ matrix.asan && 'ubuntu:23.04' || null }}
|
||||
runs-on: ubuntu-${{ !matrix.asan && '22' || '24' }}.04
|
||||
steps:
|
||||
- name: git checkout
|
||||
uses: actions/checkout@v4
|
||||
|
@ -112,7 +110,7 @@ jobs:
|
|||
configurationParameters: >-
|
||||
--${{ matrix.debug && 'enable' || 'disable' }}-debug
|
||||
--${{ matrix.zts && 'enable' || 'disable' }}-zts
|
||||
${{ matrix.asan && 'CFLAGS="-fsanitize=undefined,address -DZEND_TRACK_ARENA_ALLOC" LDFLAGS="-fsanitize=undefined,address" CC=clang CXX=clang++ --disable-opcache-jit' || '' }}
|
||||
${{ matrix.asan && 'CFLAGS="-fsanitize=undefined,address -fno-sanitize=function -DZEND_TRACK_ARENA_ALLOC" LDFLAGS="-fsanitize=undefined,address -fno-sanitize=function" CC=clang CXX=clang++ --disable-opcache-jit' || '' }}
|
||||
skipSlow: ${{ matrix.asan }}
|
||||
- name: make
|
||||
run: make -j$(/usr/bin/nproc) >/dev/null
|
||||
|
|
|
@ -6,6 +6,7 @@ Kévin Dunglas
|
|||
Niels Dossche
|
||||
--EXTENSIONS--
|
||||
curl
|
||||
--XLEAK--
|
||||
--SKIPIF--
|
||||
<?php
|
||||
include 'skipif-nocaddy.inc';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue