1
0
mirror of https://github.com/php/php-src.git synced 2026-03-31 04:32:19 +02:00
Commit Graph

318 Commits

Author SHA1 Message Date
Christoph M. Becker
258088310a Fix nightly builds regarding libavif
Currently, we're running LINUX_X64 Asan builds on ubuntu-20.04, where
libavif-dev is not available, so apt-x64 fails.  This PR is a follow up
to PR #16049 to pass the respective parameter to apt-x64, and to fix
the conditional check in configure-x64.

It might be clearer to just have an `avif` parameter or to pass the
runner version to these actions, but this should do for now.

Closes GH-16130.
2024-09-30 18:51:30 +02:00
Ilija Tovilo
6f7ec6a747 Remove now unused llvm installation in asan build 2024-09-26 15:18:01 +02:00
Ilija Tovilo
b14d440a82 Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3:
  Switch asan build to Ubuntu 24.04
2024-09-26 15:15:39 +02:00
Ilija Tovilo
91c06790de Switch asan build to Ubuntu 24.04
Closes GH-16065
2024-09-26 15:13:35 +02:00
Ilija Tovilo
271b9e685e Fix missing libavif-dev in asan nightly
Asan still runs on Ubuntu 20.04, which doesn't contain the libavif-dev package.

Closes GH-16049
2024-09-26 15:09:32 +02:00
Saki Takamachi
6946bbca38 Added PHP-8.4 to push workflow (#16045) 2024-09-25 20:25:40 +09:00
Christoph M. Becker
051c886bc3 Merge branch 'PHP-8.3'
* PHP-8.3:
  Fix MySQL and MSSQL CI failures
2024-09-24 13:04:52 +02:00
武田 憲太郎
af721c9c36 Fix MySQL and MSSQL CI failures
* use mysql service container for nightly tests
* remove unnecessary mysql startup
* update mssql container to newer version

Closes GH-16011.
2024-09-24 13:03:26 +02:00
Ayesh Karunaratne
5fa082316b CI: Update actions/cache in nightly run to v4 (#15933) 2024-09-17 08:51:57 +02:00
Peter Kokot
13f041163c Remove Travis artefacts (#15714)
Travis was suspended https://github.com/php/php-src/pull/15314

This removes 404 errored Travis image in README, travis configuration
directory and YAML file and usages in tests.

[skip ci]

Co-authored-by: Gina Peter Banyard <girgias@php.net>
2024-09-04 01:15:10 +02:00
Ilija Tovilo
64bd828394 [skip ci] Update mysql versions for libmysql build 2024-09-02 12:31:56 +02:00
Arnaud Le Blanc
5b482b706e Alpine/Musl nightly job (#13925)
Co-authored-by: Michael Voříšek <mvorisek@mvorisek.cz>
2024-08-28 17:28:07 +02:00
Tim Düsterhus
41bdcc87ec Merge branch 'PHP-8.3'
* PHP-8.3:
  Update ci actions/checkout to v4 (#15283)
2024-08-08 09:58:16 +02:00
Tim Düsterhus
6291cab8da Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Update ci actions/checkout to v4 (#15283)
2024-08-08 09:57:53 +02:00
disservin
9bfe36508d Update ci actions/checkout to v4 (#15283)
see 45e60e585e
see 69dbfadd1e
2024-08-08 09:57:31 +02:00
Christoph M. Becker
2832b4254c Fix nightly Windows builds regarding CRT and runners (GH-15273)
Only the master branch should use vs17; older branches still should
stick with vs16.  And while not strictly necessary, older branches
should better stick with windows-2019 runners.
2024-08-07 15:44:53 +02:00
Christoph M. Becker
af8ef4c5b0 Update Windows CI to build with vs17
PHP 8.4 is supposed to be built with vs17 (aka. Visual Studio 2022)[1],
so we also do this for CI.

We mark gh8841.phpt as xfail for known reasons.

[1] <https://windows.php.net/>
2024-08-06 17:19:08 +02:00
Christoph M. Becker
004f3d5eef Merge branch 'PHP-8.3'
* PHP-8.3:
  Update the php-sdk-binary-tools to php-sdk-2.3.0
2024-07-19 12:26:32 +02:00
Christoph M. Becker
94172b05d0 Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Update the php-sdk-binary-tools to php-sdk-2.3.0
2024-07-19 12:18:26 +02:00
Christoph M. Becker
93a9a9b4a4 Update the php-sdk-binary-tools to php-sdk-2.3.0
The Windows CI of the `PHP-8.2` to `PHP-8.3` branches still use the
`php-sdk-2.2.0` which is almost five years old, and does not fetch the
updated dependencies from https://downloads.php.net/~windows.

The `master` branch CI uses `php_downloads_server_migration_v1`, which
has been superseded a few months ago[1].  So switching to the
`php-sdk-2.3.0` makes sense there, too.

[1] <php/php-sdk-binary-tools@19c8ccb>

Closes GH-14991.
2024-07-19 12:17:39 +02:00
Ilija Tovilo
00cbcb4b6b Merge branch 'PHP-8.3'
* PHP-8.3:
  [skip ci] Fix exlusion of buggy Symfony test
2024-07-04 15:45:31 +02:00
Ilija Tovilo
6361b39e81 Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  [skip ci] Fix exlusion of buggy Symfony test
2024-07-04 15:44:22 +02:00
Ilija Tovilo
a380cdb996 [skip ci] Fix exlusion of buggy Symfony test 2024-07-04 15:44:09 +02:00
Ilija Tovilo
460b851214 [skip ci] Fix codecov upload 2024-06-13 17:33:56 +02:00
Ilija Tovilo
8fd1388a7f Merge branch 'PHP-8.3'
* PHP-8.3:
  Remove GitHub actions junit artifacts
2024-06-13 14:09:17 +02:00
Ilija Tovilo
9cec164f76 Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Remove GitHub actions junit artifacts
2024-06-13 14:07:43 +02:00
Ilija Tovilo
f598b58790 Remove GitHub actions junit artifacts
Nobody looks at those, and nightly regularly fails due to uploading them.

Closes GH-14555
2024-06-13 14:05:50 +02:00
Ilija Tovilo
9771302e29 Merge branch 'PHP-8.3'
* PHP-8.3:
  Attempt to fix mysql_native_password error for 32-bit build
2024-05-29 12:49:51 +02:00
Ilija Tovilo
3250457242 Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Attempt to fix mysql_native_password error for 32-bit build
2024-05-29 12:49:43 +02:00
Ilija Tovilo
a05301e783 Attempt to fix mysql_native_password error for 32-bit build
Closes GH-14356
2024-05-29 12:48:47 +02:00
Ilija Tovilo
06fcf3c029 Merge branch 'PHP-8.3'
* PHP-8.3:
  Re-add 32-bit push build
2024-05-29 11:50:45 +02:00
Ilija Tovilo
9f77c1f995 Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Re-add 32-bit push build
2024-05-29 11:49:49 +02:00
Ilija Tovilo
69dbfadd1e Re-add 32-bit push build
32-bit fails more commonly that I had assumed.

Closes GH-14300
2024-05-29 11:47:24 +02:00
Tim Düsterhus
b80faeb8cb Merge branch 'PHP-8.3'
* PHP-8.3:
  CI: Do not save the ccache for PRs (8.3+)
  CI: Do not save the ccache for PRs (#14168)
2024-05-07 20:53:55 +02:00
Tim Düsterhus
402f3a923f CI: Do not save the ccache for PRs (8.3+)
see GH-14168
2024-05-07 20:53:33 +02:00
Tim Düsterhus
1bf42b4eb4 Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  CI: Do not save the ccache for PRs (#14168)
2024-05-07 20:52:25 +02:00
Tim Düsterhus
b8aa68bc09 CI: Do not save the ccache for PRs (#14168)
Resolves #14155
2024-05-07 20:52:10 +02:00
武田 憲太郎
d9a9696e89 Fix libmysql download to stable URL 2024-05-04 17:54:18 +09:00
Saki Takamachi
f442cecab6 Merge branch 'PHP-8.3'
* PHP-8.3:
  Fix the MySQL Server version used for testing to  (#14120)
2024-05-04 07:49:46 +09:00
武田 憲太郎
febbbfac78 Fix the MySQL Server version used for testing to (#14120)
closes #14120
2024-05-04 07:49:07 +09:00
Ilija Tovilo
2f64d07337 Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  [skip ci] Backport 0e7ef95 and 4f0d4c0
2024-04-21 16:13:21 +02:00
Ilija Tovilo
891e4a5a34 Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  [skip ci] Backport 0e7ef95 and 4f0d4c0
2024-04-21 16:12:18 +02:00
Ilija Tovilo
469ad32581 [skip ci] Backport 0e7ef95 and 4f0d4c0 2024-04-21 16:11:55 +02:00
Ilija Tovilo
4f0d4c0872 [skip ci] Also skip all other push jobs on non php-src 2024-04-21 16:00:48 +02:00
Ilija Tovilo
0e7ef95a0a [skip ci] Also skip benchmarking on non php-src 2024-04-21 02:22:57 +02:00
Ilija Tovilo
c3b07a6e5e Adjust nightly org restriction check
Check for the specific repository.

Closes GH-14026
2024-04-21 02:13:49 +02:00
Jakub Zelenka
edb13b60e9 CI: Skip building docs if GitHub repository is not php-src (#14006) 2024-04-19 17:44:28 +02:00
Ilija Tovilo
8475cfb695 [skip ci] Add missing if: always() to community tests 2024-04-15 13:20:48 +02:00
Niels Dossche
00c6d538ab Fix GH-13834: Applying non-zero offset 36 to null pointer in zend_jit.c (#13846)
* Fix GH-13834: Applying non-zero offset 36 to null pointer in zend_jit.c

ssa_op can be NULL in function JIT. Doing pointer arithmetic on a NULL
pointer is undefined behaviour. Undefined behaviour can be dangerous
because the optimizer may assume then that the variable is not actually
NULL.

To solve this:
1. Add ADVANCE_SSA_OP() to safely add an offset to ssa_op in zend_jit.c
2. For inference, add an extra offset argument to the helper functions.

To reproduce this, use Clang (not GCC) on a test like
sapi/cli/tests/gh12363.phpt (or other tests also work).

* Remove -fno-sanitize=pointer-overflow flag from CI

* Fix NULL pointer offsets added to the stack_map

* Fix an offset add on a potentially NULL ssa->ops

* Fix NULL pointer arithmetic in zend_range_info()

* Address review comments
2024-04-01 13:37:15 +02:00
Ilija Tovilo
8dbc4b61c3 Disable ASLR for benchmark (#13769) 2024-03-20 17:20:29 +01:00