File tree Expand file tree Collapse file tree 11 files changed +36
-15
lines changed Expand file tree Collapse file tree 11 files changed +36
-15
lines changed Original file line number Diff line number Diff line change @@ -33,13 +33,11 @@ runs:
3333 libsodium-dev:i386 \
3434 libsqlite3-dev:i386 \
3535 libssl-dev:i386 \
36- libtidy-dev:i386 \
3736 libwebp-dev:i386 \
3837 libxml2-dev:i386 \
3938 libxml2-dev:i386 \
4039 libxpm-dev:i386 \
4140 libxslt1-dev:i386 \
42- libzip-dev:i386 \
4341 locales \
4442 make \
4543 pkg-config:i386 \
Original file line number Diff line number Diff line change 1010 run : |
1111 set -x
1212
13+ export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/lib/i386-linux-gnu/pkgconfig"
1314 ./buildconf --force
1415 export CFLAGS="-m32 -msse2"
1516 export CXXFLAGS="-m32 -msse2"
@@ -33,12 +34,10 @@ runs:
3334 --with-freetype \
3435 --with-xpm \
3536 --enable-exif \
36- --with-zip \
3737 --with-zlib \
3838 --enable-soap \
3939 --enable-xmlreader \
4040 --with-xsl \
41- --with-tidy \
4241 --enable-sysvsem \
4342 --enable-sysvshm \
4443 --enable-shmop \
Original file line number Diff line number Diff line change 7878 zts : true
7979 asan : true
8080 name : " LINUX_X64_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}${{ matrix.asan && '_ASAN' || '' }}"
81- runs-on : ubuntu-${{ !matrix.asan && '22' || '24' }} .04
81+ runs-on : ubuntu-24 .04
8282 timeout-minutes : 50
8383 steps :
8484 - name : git checkout
@@ -142,7 +142,7 @@ jobs:
142142 runs-on : ubuntu-latest
143143 timeout-minutes : 50
144144 container :
145- image : ubuntu:20 .04
145+ image : ubuntu:24 .04
146146 env :
147147 MYSQL_TEST_HOST : mysql
148148 PDO_MYSQL_TEST_DSN : mysql:host=mysql;dbname=test
@@ -255,7 +255,7 @@ jobs:
255255 BENCHMARKING :
256256 name : BENCHMARKING
257257 if : github.repository == 'php/php-src' || github.event_name == 'pull_request'
258- runs-on : ubuntu-22 .04
258+ runs-on : ubuntu-24 .04
259259 timeout-minutes : 50
260260 steps :
261261 - name : git checkout
Original file line number Diff line number Diff line change 5252 libmysqlclient_with_mysqli : ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] == 1) }}
5353 run_alpine : ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) || matrix.branch.version[0] >= 9 }}
5454 run_macos_arm64 : ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) || matrix.branch.version[0] >= 9 }}
55- ubuntu_version : ${{ ((matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 3) || matrix.branch.version[0] >= 9) && '22.04' || '20.04' }}
55+ ubuntu_version : ${{
56+ (((matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) || matrix.branch.version[0] >= 9) && '24.04')
57+ || ((matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 3) && '22.04')
58+ || '20.04' }}
5659 windows_version : ${{ ((matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) || matrix.branch.version[0] >= 9) && '2022' || '2019' }}
5760 secrets : inherit
Original file line number Diff line number Diff line change @@ -515,6 +515,13 @@ extern "C++" {
515515# undef HAVE_FUNC_ATTRIBUTE_IFUNC
516516#endif
517517
518+ #if __has_feature(memory_sanitizer)
519+ # include < sanitizer/msan_interface.h>
520+ # define MSAN_UNPOISON (value ) __msan_unpoison(&(value), sizeof (value))
521+ #else
522+ # define MSAN_UNPOISON (value )
523+ #endif
524+
518525/* Only use ifunc resolvers if we have __builtin_cpu_supports() and __builtin_cpu_init(),
519526 * otherwise the use of zend_cpu_supports() may not be safe inside ifunc resolvers. */
520527#if defined(HAVE_FUNC_ATTRIBUTE_IFUNC) && defined(HAVE_FUNC_ATTRIBUTE_TARGET) && \
Original file line number Diff line number Diff line change 22Bug #77535 (Invalid callback, h2 server push)
33--EXTENSIONS--
44curl
5- --XLEAK --
5+ --XFAIL --
66--SKIPIF--
77<?php
88include 'skipif-nocaddy.inc ' ;
Original file line number Diff line number Diff line change 22Test trampoline for curl option CURLMOPT_PUSHFUNCTION
33--EXTENSIONS--
44curl
5- --XLEAK --
5+ --XFAIL --
66--SKIPIF--
77<?php
88include 'skipif-nocaddy.inc ' ;
Original file line number Diff line number Diff line change 77<?php
88if (!function_exists ("pcntl_setns " )) die ("skip pcntl_setns is not available " );
99if (getenv ('SKIP_ASAN ' )) die ('skip Timeouts under ASAN ' );
10+
11+ $ pid = pcntl_fork ();
12+ if ($ pid == -1 ) die ("skip pcntl_fork failed " );
13+ if ($ pid != 0 ) {
14+ if (@pcntl_setns ($ pid , CLONE_NEWPID ) === false && pcntl_get_last_error () == PCNTL_EPERM ) {
15+ die ("skip Insufficient privileges to use pcntl_setns() " );
16+ }
17+ }
1018?>
1119--FILE--
1220<?php
Original file line number Diff line number Diff line change 66--SKIPIF--
77<?php
88if (!function_exists ("pcntl_setns " )) die ("skip pcntl_setns is not available " );
9- if (posix_getuid () !== 0 ) die ('skip Test needs root user ' );
109if (getenv ('SKIP_ASAN ' )) die ('skip Timeouts under ASAN ' );
10+
11+ $ pid = pcntl_fork ();
12+ if ($ pid == -1 ) die ("skip pcntl_fork failed " );
13+ if ($ pid != 0 ) {
14+ if (@pcntl_setns ($ pid , CLONE_NEWPID ) === false && pcntl_get_last_error () == PCNTL_EPERM ) {
15+ die ("skip Insufficient privileges to use pcntl_setns() " );
16+ }
17+ }
1118?>
1219--FILE--
1320<?php
Original file line number Diff line number Diff line change @@ -4,10 +4,8 @@ PDO ODBC "long" columns
44pdo_odbc
55--SKIPIF--
66<?php
7- // make sure there is an ODBC driver and a DSN, or the test will fail
8- include 'ext/pdo/tests/pdo_test.inc ' ;
9- $ config = PDOTest::get_config ('ext/pdo_odbc/tests/common.phpt ' );
10- if (!isset ($ config ['ENV ' ]['PDOTEST_DSN ' ]) || $ config ['ENV ' ]['PDOTEST_DSN ' ]===false ) print 'skip ' ;
7+ require 'ext/pdo/tests/pdo_test.inc ' ;
8+ PDOTest::skip ();
119?>
1210--FILE--
1311<?php
You can’t perform that action at this time.
0 commit comments