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:
33
33
libsodium-dev:i386 \
34
34
libsqlite3-dev:i386 \
35
35
libssl-dev:i386 \
36
- libtidy-dev:i386 \
37
36
libwebp-dev:i386 \
38
37
libxml2-dev:i386 \
39
38
libxml2-dev:i386 \
40
39
libxpm-dev:i386 \
41
40
libxslt1-dev:i386 \
42
- libzip-dev:i386 \
43
41
locales \
44
42
make \
45
43
pkg-config:i386 \
Original file line number Diff line number Diff line change 10
10
run : |
11
11
set -x
12
12
13
+ export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/lib/i386-linux-gnu/pkgconfig"
13
14
./buildconf --force
14
15
export CFLAGS="-m32 -msse2"
15
16
export CXXFLAGS="-m32 -msse2"
@@ -33,12 +34,10 @@ runs:
33
34
--with-freetype \
34
35
--with-xpm \
35
36
--enable-exif \
36
- --with-zip \
37
37
--with-zlib \
38
38
--enable-soap \
39
39
--enable-xmlreader \
40
40
--with-xsl \
41
- --with-tidy \
42
41
--enable-sysvsem \
43
42
--enable-sysvshm \
44
43
--enable-shmop \
Original file line number Diff line number Diff line change 78
78
zts : true
79
79
asan : true
80
80
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
82
82
timeout-minutes : 50
83
83
steps :
84
84
- name : git checkout
@@ -142,7 +142,7 @@ jobs:
142
142
runs-on : ubuntu-latest
143
143
timeout-minutes : 50
144
144
container :
145
- image : ubuntu:20 .04
145
+ image : ubuntu:24 .04
146
146
env :
147
147
MYSQL_TEST_HOST : mysql
148
148
PDO_MYSQL_TEST_DSN : mysql:host=mysql;dbname=test
@@ -255,7 +255,7 @@ jobs:
255
255
BENCHMARKING :
256
256
name : BENCHMARKING
257
257
if : github.repository == 'php/php-src' || github.event_name == 'pull_request'
258
- runs-on : ubuntu-22 .04
258
+ runs-on : ubuntu-24 .04
259
259
timeout-minutes : 50
260
260
steps :
261
261
- name : git checkout
Original file line number Diff line number Diff line change 52
52
libmysqlclient_with_mysqli : ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] == 1) }}
53
53
run_alpine : ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) || matrix.branch.version[0] >= 9 }}
54
54
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' }}
56
59
windows_version : ${{ ((matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) || matrix.branch.version[0] >= 9) && '2022' || '2019' }}
57
60
secrets : inherit
Original file line number Diff line number Diff line change @@ -515,6 +515,13 @@ extern "C++" {
515
515
# undef HAVE_FUNC_ATTRIBUTE_IFUNC
516
516
#endif
517
517
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
+
518
525
/* Only use ifunc resolvers if we have __builtin_cpu_supports() and __builtin_cpu_init(),
519
526
* otherwise the use of zend_cpu_supports() may not be safe inside ifunc resolvers. */
520
527
#if defined(HAVE_FUNC_ATTRIBUTE_IFUNC) && defined(HAVE_FUNC_ATTRIBUTE_TARGET) && \
Original file line number Diff line number Diff line change 2
2
Bug #77535 (Invalid callback, h2 server push)
3
3
--EXTENSIONS--
4
4
curl
5
- --XLEAK --
5
+ --XFAIL --
6
6
--SKIPIF--
7
7
<?php
8
8
include 'skipif-nocaddy.inc ' ;
Original file line number Diff line number Diff line change 2
2
Test trampoline for curl option CURLMOPT_PUSHFUNCTION
3
3
--EXTENSIONS--
4
4
curl
5
- --XLEAK --
5
+ --XFAIL --
6
6
--SKIPIF--
7
7
<?php
8
8
include 'skipif-nocaddy.inc ' ;
Original file line number Diff line number Diff line change 7
7
<?php
8
8
if (!function_exists ("pcntl_setns " )) die ("skip pcntl_setns is not available " );
9
9
if (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
+ }
10
18
?>
11
19
--FILE--
12
20
<?php
Original file line number Diff line number Diff line change 6
6
--SKIPIF--
7
7
<?php
8
8
if (!function_exists ("pcntl_setns " )) die ("skip pcntl_setns is not available " );
9
- if (posix_getuid () !== 0 ) die ('skip Test needs root user ' );
10
9
if (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
+ }
11
18
?>
12
19
--FILE--
13
20
<?php
Original file line number Diff line number Diff line change @@ -4,10 +4,8 @@ PDO ODBC "long" columns
4
4
pdo_odbc
5
5
--SKIPIF--
6
6
<?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 ();
11
9
?>
12
10
--FILE--
13
11
<?php
You can’t perform that action at this time.
0 commit comments