1
0
mirror of https://github.com/php/php-src.git synced 2026-04-02 21:52:36 +02:00
Commit Graph

295 Commits

Author SHA1 Message Date
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
Ilija Tovilo
5b7d45822a Fix missing llvm deps inside docker 2024-03-19 17:34:18 +01:00
Ilija Tovilo
25a8f155f2 Merge branch 'PHP-8.3'
* PHP-8.3:
  Fix ASan build
2024-03-19 17:17:21 +01:00
Ilija Tovilo
697d1a1c63 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
2024-03-19 17:15:36 +01:00
Ayesh Karunaratne
7ed26c01f5 GitHub Actions: Update action versions to avoid node:16 warnings (#13453)
Note 16 is now EOL, so old GitHub Actions that use node 16 now triggers a warning.

This updates all existing workflows except `dwieeb/needs-reply` to their latest versions.
2024-02-21 13:16:25 +01:00
Ilija Tovilo
f332e53082 [skip ci] Fix docs glob pattern
* does not refer to nested files.
2024-02-18 20:39:00 +01:00
Ilija Tovilo
1beb778b3a Merge branch 'PHP-8.3'
* PHP-8.3:
  [skip ci] Fix paths-ignore glob pattern
2024-02-18 20:38:26 +01:00
Ilija Tovilo
3d2f9883ba Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  [skip ci] Fix paths-ignore glob pattern
2024-02-18 20:38:11 +01:00
Ilija Tovilo
a18cf333ba [skip ci] Fix paths-ignore glob pattern
* does not work for nested files.
2024-02-18 20:37:26 +01:00
Ilija Tovilo
19d2b84788 Create book for docs
Closes GH-13338
2024-02-18 12:16:31 +01:00
Ilija Tovilo
ec9b68cb6a [skip ci] Skip JIT tests for Apple Silicon + ZTS
JIT will be disabled for Apple Silicon + ZTS anyway. See:

6db95512b4
2024-02-18 00:19:47 +01:00
Peter Kokot
3e237ecfb3 Remove remainings of recent oci extensions removal (#13352)
Following a4d64b2605
2024-02-08 18:04:00 +01:00
Derick Rethans
a4d64b2605 Removed ext/oci8 and ext/pdo_oci (#13327)
* Removed ext/oci8 and ext/pdo_oci

They now live in their own repositories:

https://github.com/php/pecl-database-oci8
https://github.com/php/pecl-database-pdo_oci

As per: https://wiki.php.net/rfc/unbundle_imap_pspell_oci8
2024-02-07 15:34:39 +00:00
Ilija Tovilo
294c9ec36c [skip ci] Skip push to forks
Creating PRs against forks requries having up-to-date target branches. Pushing
to these currently triggers CI, which is useless as this commit was already
tested upstream. Contributions are tested via pull request.
2024-02-07 13:17:40 +01:00
Shivam Mathur
d8aa6e457f Add macos-14 to the push and nightly workflows (#13299)
* Add macos-14 to the push workflow

* Remove hardcoded brew path in configure-macos action

* Include architecture in macos job name

* Add os to ccache-action in macos job

* Add libsodium in brew action

Since we build with the configuration option --with-sodium, adding libsodium to make sure it is installed

* Add fail-fast to macos matrix

* Add macos-14 to the nightly workflow

* Fix adding bison to PATH in workflows

* Fix architecture

* Use version to compare in nightly_matrix.php

* Make sure test-macos artifacts have unique name

* Update .github/nightly_matrix.php

Co-authored-by: Ilija Tovilo <ilija.tovilo@me.com>

---------

Co-authored-by: Ilija Tovilo <ilija.tovilo@me.com>
2024-02-02 14:02:57 +05:30
Tim Düsterhus
bba24f04a7 Update GitHub Action workflows to actions/upload-artifact@v4 (master)
This applies the upgrade for workflows that have been added in the master
branch.
2024-01-31 23:36:07 +01:00
Jorg Adam Sowa
0a162394c8 Enable xdebug extension again on nightly (#13192) 2024-01-23 17:36:45 +01:00
Ilija Tovilo
c6a2f2a8ce [skip ci] Disable pecl redis build 2024-01-23 17:36:07 +01:00
Ilija Tovilo
ffc250d245 Add runtime type inference verification
Co-authored-by: Dmitry Stogov <dmitry@zend.com>

Closes GH-12930
2024-01-19 09:29:14 +01:00
Ilija Tovilo
59c38969de [skip ci] Remove PHP 8.0 references from CI 2024-01-09 10:39:20 +01:00
Ilija Tovilo
c68f4f616c [skip ci] Fix macos nightly version for older branches 2023-12-31 13:46:32 +01:00
Ilija Tovilo
40908f32a0 Test JIT on clang/asan build (#13006)
Clang enables the pointer-overflow check which is incompatble with the tracing
JIT. We can still test the JIT by disabling this check.
2023-12-23 19:18:04 +01:00
David CARLIER
952ffbfe50 macOs CI update. (#12998)
macOs CI update.

since sonoma (14) had been released since few months, we could afford to
upgrade to its previous release.
2023-12-22 15:24:53 +00:00
Ilija Tovilo
bea567674c Merge branch 'PHP-8.3'
* PHP-8.3:
  Reduce parallelism on frequently crashing jobs
2023-11-28 00:31:51 +01:00