1
0
mirror of https://github.com/php/php-src.git synced 2026-04-06 15:43:13 +02:00
Commit Graph

279 Commits

Author SHA1 Message Date
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