Commit Graph

365 Commits

Author SHA1 Message Date
Bob Weinand
e7462bff19
Run one testsuite with observers enabled in CI (#13869)
Signed-off-by: Bob Weinand <bobwei9@hotmail.com>
2024-04-02 18:11:02 +02: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
Shivam Mathur
59e8c267fa Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
    Fix brew action (#13659)
    We patch brew to ensure it overwrites files while linking the dependencies
2024-03-10 20:18:47 +05:30
Shivam Mathur
0e05f26be6
Fix brew action (#13659)
We patch brew to ensure it overwrites files while linking the dependencies
2024-03-10 20:11:24 +05:30
Peter Kokot
72197e36b8 Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  [skip ci] Add CODEOWNERS in PHP-8.2 branch
2024-03-09 01:28:55 +01:00
Peter Kokot
a284c3e873 [skip ci] Add CODEOWNERS in PHP-8.2 branch
GitHub at the time of this writing, requires CODEOWNERS file to be
present in each branch for the pull request reviews. This adds adjusted
CODEOWNERS file from current master branch with updated requests and
changes in PHP-8.3 branch.

Closes GH-13623
2024-03-09 01:27:54 +01:00
Peter Kokot
88e90c6f83
Move CODEOWNERS to .github (#13591)
The CODEOWNERS file is specific to GitHub interface and can be located
in .github, docs or in project root. It makes the php-src root directory
a bit more browseable.
2024-03-07 22:44:31 +01:00
Saki Takamachi
116166cd30
Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Removed `REPORT_EXIT_STATUS=no` in libmysql tests
2024-02-29 08:49:04 +09:00
Saki Takamachi
99688dbe7a
Removed REPORT_EXIT_STATUS=no in libmysql tests 2024-02-29 08:41:36 +09:00
Jakub Zelenka
4dc8c08acd
Merge branch 'PHP-8.2' into PHP-8.3 2024-02-27 22:04:05 +00:00
Jakub Zelenka
3d4b36fc9c
CI: Continue on error if Caddy download fails
Closes GH-13542
2024-02-27 22:03:04 +00: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
Tim Düsterhus
26153eec02
Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  ci: update caddy job to use GitHub Releases
2024-02-01 00:12:22 +01:00
Tim Düsterhus
95c5c407ee
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  ci: update caddy job to use GitHub Releases
2024-02-01 00:12:13 +01:00
Ayesh Karunaratne
4922b9eb7d
ci: update caddy job to use GitHub Releases
The caddyserver.com download page is unreliable, and it also recommends to use GitHub releases instead.

Closes #13296
2024-02-01 00:11:54 +01:00
Tim Düsterhus
b82d25b7b6
Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Update GitHub Action workflows to `actions/upload-artifact@v4` (#13297)
2024-01-31 23:34:50 +01:00
Tim Düsterhus
e209506bfa
Update GitHub Action workflows to actions/upload-artifact@v4 (#13297)
Keep this up to date in all non-security-only branches, because the node.js
runtime for older versions might get deprecated in the future and fixing this
for all branches at once is easier.
2024-01-31 23:34:28 +01:00
Ilija Tovilo
de0cef4a09
Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Reduce parallelism on frequently crashing jobs
2023-11-28 00:31:14 +01:00
Ilija Tovilo
ace91ddd73
Reduce parallelism on frequently crashing jobs
Some jobs on GA apparently consume a lot of CPU resources, possibly hindering
communication between master and runner. This only seems to happen on Linux+ASAN
and macOS. For these jobs, keep one core idle.

Closes GH-12742
2023-11-28 00:27:24 +01:00
Ilija Tovilo
5e12756ee8
Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Use attribute for ignoring Laravel test
2023-10-31 11:49:11 +01:00
Ilija Tovilo
f22a6440d0
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Use attribute for ignoring Laravel test
2023-10-31 11:49:02 +01:00
Ilija Tovilo
0e8205bd9a
Use attribute for ignoring Laravel test
Apparently `@group` stopped working.
2023-10-31 11:48:08 +01:00
Ilija Tovilo
0bd1fdd60d
Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  [skip ci] Fix laravel community build
2023-10-30 17:57:00 +01:00
Ilija Tovilo
1707a538f9
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  [skip ci] Fix laravel community build
2023-10-30 17:56:51 +01:00
Ilija Tovilo
b0bac336b3
[skip ci] Fix laravel community build
FilesystemTest::testSharedGet() uses too much memory and crashes GA. It was
already ignored by adding the `@skip` attribute, but the code changed and the
replacement stopped working.

Closes GH-12570
2023-10-30 17:56:38 +01:00
Ilija Tovilo
42cd4fe593
Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  [skip ci] Update mysql 5.7 patch
2023-10-30 16:51:00 +01:00
Ilija Tovilo
18f835f24b
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  [skip ci] Update mysql 5.7 patch
2023-10-30 16:50:51 +01:00
Ilija Tovilo
c3d2f519d0
[skip ci] Update mysql 5.7 patch 2023-10-30 16:50:30 +01:00
武田 憲太郎
f42cef6675
Fix pgsql and mysql tests on GitHub actions
The tests accidentally stopped running on PHP 8.3+.

Closes GH-12475
2023-10-20 10:38:00 +02:00
Ilija Tovilo
e7fa42ed2e
Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Fix JIT on nightly
2023-10-13 11:44:50 +02:00
Ilija Tovilo
90c9ec14eb
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Fix JIT on nightly
2023-10-13 11:42:55 +02:00
Ilija Tovilo
734afa0ba8
Fix JIT on nightly
The JIT was accidentally disabled in nightly on lower branches because
jit_buffer_size woudln't be passed from nightly.yml on master anymore.
2023-10-13 11:41:52 +02:00
Ilija Tovilo
b35e0c3069
Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Move ARM build to CircleCI
2023-10-12 13:14:52 +02:00
Ilija Tovilo
9c3d3be8bd
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Move ARM build to CircleCI
2023-10-12 13:13:34 +02:00
Ilija Tovilo
4332546bbf
Move ARM build to CircleCI
Closes GH-12415
2023-10-12 13:11:38 +02:00
Niels Dossche
032fe011df Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Fix Windows CI
2023-10-07 15:50:51 +02:00
Niels Dossche
4268b0cdf8 Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Fix Windows CI
2023-10-07 15:50:41 +02:00
Niels Dossche
ae52f1958d Fix Windows CI
The path to mysql.exe changed. Fortunately, chocolately puts the folder
containing the exe in the PATH environment variable, so we don't even
need to provide an absolute path.
2023-10-07 15:49:46 +02:00
Ilija Tovilo
a2d25afa4a
Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Minimal backport of 098d9ca
2023-10-04 15:34:11 +02:00
Ilija Tovilo
af5cdd8db0
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Minimal backport of 098d9ca
2023-10-04 15:33:25 +02:00
Ilija Tovilo
36a87e6d32
Minimal backport of 098d9ca 2023-10-04 15:31:04 +02:00
Ilija Tovilo
f7cef9a242
Test ASAN on Ubuntu 22.04 in nightly by increasing swap
See ef6bbaa. We previously ran into crashes that are apprently related to a
decrease in memory on never runners. The crash can be avoided by increasing the
swap file.

Closes GH-12267
2023-10-03 13:53:09 +02:00
Ilija Tovilo
769f41bb21
Use separate sqlsrv dbs for different exts
This refers to pdo_dblib, pdo_odbc and odbc in particular.

Closes GH-12342
2023-10-02 12:55:57 +02:00
Ilija Tovilo
3cd3f06ef6
Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Upgrade to macOS 12 in CI
2023-09-15 12:05:56 +02:00
Ilija Tovilo
1cf6e12a06
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Upgrade to macOS 12 in CI
2023-09-15 12:05:47 +02:00
Ilija Tovilo
55ed7690f4
Upgrade to macOS 12 in CI
We get some mysterious failures on macOS on GA with no evident error. This is a
blind attempt to solve it. There are many similar reports but there's no clear
resolution.

https://github.com/actions/runner-images/issues/7509#issuecomment-1538294874

Closes GH-12210
2023-09-15 12:04:07 +02:00
Tim Düsterhus
99cd81cd0a
Update GitHub Action workflows to actions/checkout@v4 (8.3+)
This applies the upgrade for workflows that have been added in the PHP-8.3
branch.
2023-09-13 22:17:13 +02:00
Tim Düsterhus
4badb85170
Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Update GitHub Action workflows to `actions/checkout@v4`
2023-09-13 22:16:52 +02:00
Tim Düsterhus
da13a74926
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Update GitHub Action workflows to `actions/checkout@v4`
2023-09-13 22:15:40 +02:00
Tim Düsterhus
45e60e585e
Update GitHub Action workflows to actions/checkout@v4
Keep this up to date in all non-security-only branches, because the node.js
runtime for older versions might get deprecated in the future and fixing this
for all branches at once is easier.
2023-09-13 22:14:45 +02:00
Ilija Tovilo
6d0b27d25c
Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  [skip ci] Backport GA paths-ignore changes
2023-09-04 13:58:38 +02:00
Ilija Tovilo
b4dc85fced
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  [skip ci] Backport GA paths-ignore changes
2023-09-04 13:58:10 +02:00
Ilija Tovilo
e3df233aca
[skip ci] Backport GA paths-ignore changes 2023-09-04 13:57:48 +02:00
Ilija Tovilo
f54771ee3e
Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  [skip ci] Skip github actions when editing other ci files
2023-09-04 13:54:21 +02:00
Ilija Tovilo
fc4c8064ba
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  [skip ci] Skip github actions when editing other ci files
2023-09-04 13:54:15 +02:00
Ilija Tovilo
8cca0e80ef
[skip ci] Skip github actions when editing other ci files 2023-09-04 13:53:58 +02:00
Ilija Tovilo
9ce9c11ee8
Fix master branch check in find-target-branch.bat 2023-09-03 14:18:41 +02:00
Ilija Tovilo
341d54c412
[skip ci] Fix branch check in nightly for PHP-8.3 2023-09-03 14:16:38 +02:00
Ilija Tovilo
ee6f9e294c
Include branch in benchmarking information
This allows https://nielsdos.github.io/php-benchmark-visualisation/ to only
show commits from master (or a specific branch). Otherwise we get confusing,
undulating commits from different branches, with potentially wildly different
performance.

Closes GH-12101
2023-09-03 13:48:23 +02:00
Jakub Zelenka
300ad65c7c
Extend workflow matrix and nighly with PHP-8.3 2023-08-29 18:26:25 +01:00
Ilija Tovilo
223fb08819
[skip ci] Fix coverage job in nightly
We get the following errors:

profiling:./ext/pdo_oci/.libs/oci_statement.gcda:Cannot open
...

It seems these extensions were never tested for coverage. Having coverage here
would be nice, but since they are not actively worked on I don't want to
investigate the issue.
2023-08-29 14:16:29 +02:00
Ilija Tovilo
ea10e79bae
Merge branch 'PHP-8.2'
* PHP-8.2:
  Fix missing instantclient in CI
2023-08-28 14:25:45 +02:00
Ilija Tovilo
ca4d7bf5f3
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Fix missing instantclient in CI
2023-08-28 14:23:47 +02:00
Ilija Tovilo
f3bd027b69
Fix missing instantclient in CI
We should only pass the --with-pdo-oci and --with-oci8 flags if instantclient is
installed.

Closes GH-12066
2023-08-28 14:23:36 +02:00
Alex Dowad
fd462b1e0f Print host CPU and installed package info in CI build log on Linux
On one of the nightly CI builds last week, there were test failures in
mbstring which appear like they might be related to SIMD-accelerated
code. The function which failed testing has multiple implementations,
and the specific implementation which is used depends on the features of
the host CPU and the build configuration.

The CI build log does not offer any clues about what implementation
was actually used when the tests failed. If the same thing happens
again, it will be helpful to (at least) know what CPU features the host
CPU supports. This will also be helpful when diagnosing any other CI
build failures which relate to CPU-specific code (or those which
related to external packages such as ICU).

It would be better to print even more information about the build
configuration. It would also be better to print host CPU information
on Windows CI builds as well.
2023-08-24 13:01:53 +02:00
Máté Kocsis
985511e968 Enable ext/odbc and ext/pdo_odbc tests on Linux in GitHub CI 2023-08-23 21:20:41 +02:00
Ilija Tovilo
c9e5e1fc52
Switch asan build to Ubuntu 23.04 in Docker
Closes GH-12034
2023-08-23 20:40:15 +02:00
Ilija Tovilo
75f5b22085
Merge branch 'PHP-8.2'
* PHP-8.2:
  Move installation of oracle instant client in GHA
2023-08-23 11:31:26 +02:00
Ilija Tovilo
a8e5285437
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Move installation of oracle instant client in GHA
2023-08-23 11:28:59 +02:00
Ilija Tovilo
ba07a0b846
Move installation of oracle instant client in GHA
Closes GH-12033
2023-08-23 11:28:17 +02:00
Peter Kokot
278a57f95a
Add all README.* files to paths-ignore (#12003)
Within the entire repository these are documentation files and CI don't
need to run when they are changed.

This now includes also README.REDIST.BINS, README.md, and similar README
files within the sapi and ext directories.

README files in tests directories are also only for internals
documentations purposes.
2023-08-20 21:53:45 +02:00
Ilija Tovilo
7fcfaae006
Merge branch 'PHP-8.2'
* PHP-8.2:
  Use per-branch matrix for windows nightly
2023-08-14 11:42:26 +02:00
Ilija Tovilo
e11b55d219
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Use per-branch matrix for windows nightly
2023-08-14 11:40:56 +02:00
Ilija Tovilo
902d39d57c
Use per-branch matrix for windows nightly
I forgot this in the last PR.
2023-08-14 11:38:59 +02:00
Ilija Tovilo
fad4ea1790
Merge branch 'PHP-8.2'
* PHP-8.2:
  Remove i386 Linux from push
2023-08-10 16:00:12 +02:00
Ilija Tovilo
241510c454
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Remove i386 Linux from push
2023-08-10 15:59:42 +02:00
Ilija Tovilo
248e6b0404
Remove i386 Linux from push
Testing this in nightly is sufficient. 32-bit problems are rare.

Closes GH-11922
2023-08-10 15:59:17 +02:00
Ilija Tovilo
fa8b4e15bd
Merge branch 'PHP-8.2'
* PHP-8.2:
  Add Windows build to nightly
2023-08-10 15:57:17 +02:00
Ilija Tovilo
b23423528f
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Add Windows build to nightly
2023-08-10 15:56:20 +02:00
Ilija Tovilo
90f514cf21
Add Windows build to nightly
Also stop running 32-bit in push, it's really not necessary.
2023-08-10 15:56:08 +02:00
Ilija Tovilo
fc9266a5fc
Move ASAN built to GitHub actions
Cirrus will no longer offer unlimited free builds starting next month. We don't
have an alternative for FreeBSD and ARM, so move what we can for now.

Closes GH-11898
2023-08-09 14:06:36 +02:00
Ilija Tovilo
7397607f44
Merge branch 'PHP-8.2'
* PHP-8.2:
  Don't test macOS & i386 without opcache on push
2023-08-07 12:26:51 +02:00
Ilija Tovilo
16c6d60067
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Don't test macOS & i386 without opcache on push
2023-08-07 12:26:45 +02:00
Ilija Tovilo
5cd0208e9f
Don't test macOS & i386 without opcache on push
It should be incredibly rare for something to fail only without opcache while
also being platform specific. We're keeping opcache-less tests for x64 Linux,
macOS and i386 will continue to be tested without opcache in nightly.

Closes GH-11867
2023-08-07 12:25:24 +02:00
Juliette
68e6de5408
GH Actions: auto-skip CI on PRs containing only docs changes (#11839)
As per https://github.com/php/php-src/pull/11838#issuecomment-1658648817

Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
2023-07-31 18:47:31 +02:00
Arnaud Le Blanc
abd563a9d3
Add AMPHP, ReactPHP, Revolt PHP to community job (#10933) 2023-07-21 12:29:56 +02:00
Ilija Tovilo
7e57e108f9
Merge branch 'PHP-8.2'
* PHP-8.2:
  tests(ext-curl): fix HTTP/2 Server Push tests
2023-07-07 10:38:55 +02:00
Ilija Tovilo
30a80b8e41
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  tests(ext-curl): fix HTTP/2 Server Push tests
2023-07-07 10:38:48 +02:00
Kévin Dunglas
47d478806a
tests(ext-curl): fix HTTP/2 Server Push tests
Closes GH-10669
2023-07-07 10:38:26 +02:00
Ilija Tovilo
dde1d9e102
Merge branch 'PHP-8.2'
* PHP-8.2:
  Retire AppVeyor
2023-07-05 15:17:11 +02:00
Ilija Tovilo
80153c9c2b
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Retire AppVeyor
2023-07-05 15:16:01 +02:00
Ilija Tovilo
f47dc259aa
Retire AppVeyor
Closes GH-11566
2023-07-05 15:14:20 +02:00
Ilija Tovilo
61a49ae841
Merge branch 'PHP-8.2'
* PHP-8.2:
  Attempt to improve setup-slapd.sh stability
2023-07-05 15:08:30 +02:00
Ilija Tovilo
463e20b510
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Attempt to improve setup-slapd.sh stability
2023-07-05 15:08:22 +02:00
Ilija Tovilo
4cc800fcb4
Attempt to improve setup-slapd.sh stability
Don't restart multiple times, restart at the end where we already have a retry
loop with a small delay.

Closes GH-11590
2023-07-05 15:07:41 +02:00
eater
165a4e53da
github: add build scripts to "Category: Build System" label (#11474)
* github: add build scripts to "Category: Build System" label

* github: add buildconf, configure.ac and win32 build folder to build system category
2023-06-22 13:54:35 +02:00
Ilija Tovilo
2086740c9e
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  [skip ci] Don't suppress setup-slapd.sh output
2023-06-16 12:06:33 +02:00
Ilija Tovilo
1c85278fbe
[skip ci] Don't suppress setup-slapd.sh output
This step frequently fails in CI. We would like to now why to see if we can
improve stability.
2023-06-16 12:04:05 +02:00
Ilija Tovilo
ef6bbaa1ec
Downgrade to Ubuntu 20.04 for ASAN nightly for now
See https://github.com/actions/runner-images/issues/6709.
2023-05-03 19:13:32 +02:00