Commit Graph

76 Commits

Author SHA1 Message Date
Ilija Tovilo
769947648e
Remove -Werror for libmysql test on 8.1 only 2024-10-30 14:47:15 +01:00
Ilija Tovilo
560a585117
[CI] Backport usage of db service for 8.1
Nightly already uses them. We're running into port clashes otherwise.

Closes GH-16647
2024-10-30 12:20:42 +01:00
Ilija Tovilo
27e8860594
Backport nightly.yml and nightly_matrix.php to PHP-8.1
These files are usually only used on master, as the cron trigger runs on master.
However, workflow_dispatch does use the file from the triggered branch.
Furthermore, we're looking into migrating to a workflow_call trigger, which will
also run on the target branch. Backport these files now to make those changes
easier.
2024-10-29 15:30:34 +01:00
Ilija Tovilo
25c0993902
Backport CI fixes to security branches
Closes GH-16469

Working towards GH-16286

commit e0db221143b808d97bc3a44e9f0968c6308794b4
Author: Ilija Tovilo <ilija.tovilo@me.com>
Date:   Fri Oct 25 22:48:20 2024 +0200

    Move CFLAGS into ./configure command for consistency

commit 8ad67768250d181cd7fef30e0c866625bbd8ac94
Author: Ilija Tovilo <ilija.tovilo@me.com>
Date:   Fri Oct 25 22:47:03 2024 +0200

    Also upgrade nightly to macOS 13

commit 58a88ccb9f
Author: Ilija Tovilo <ilija.tovilo@me.com>
Date:   Wed Oct 23 19:07:59 2024 +0200

    Fix call to dc[n]gettext in tests with 0 $category

    This causes a segfault on PHP-8.1

commit 611af05c50
Author: Ilija Tovilo <ilija.tovilo@me.com>
Date:   Fri Dec 8 13:36:52 2023 +0100

    [skip ci] Skip intermittently failing curl test on macOS

    The test fails with "CURL ERROR: 56". I will create an issue for it shortly.

commit ec745178bb
Author: Ilija Tovilo <ilija.tovilo@me.com>
Date:   Wed Oct 23 19:05:32 2024 +0200

    Backport parts of 9999a0c for gettext

    See 9999a0cb75

commit 5ce703496f
Author: Niels Dossche <7771979+nielsdos@users.noreply.github.com>
Date:   Sun Jul 28 14:34:26 2024 +0200

    Fix CI failure on macOS after Curl update

commit 714a3e7071
Author: Niels Dossche <7771979+nielsdos@users.noreply.github.com>
Date:   Sat Jul 27 16:09:50 2024 +0200

    Fix CI failure after Curl update (#15124)

commit 4f2eb921b9
Author: Niels Dossche <7771979+nielsdos@users.noreply.github.com>
Date:   Thu May 23 22:20:37 2024 +0200

    Fix GH-14307: Test curl_basic_024 fails with curl 8.8.0

    Curl changed the behaviour, from the changelog:
      - lib: make protocol handlers store scheme name lowercase curl/curl@c294f9c

    From the docs: "The returned scheme might be upper or lowercase. Do
    comparisons case insensitively."

    Closes GH-14312.

commit 251195b41b
Author: Ayesh Karunaratne <ayesh@aye.sh>
Date:   Thu Feb 1 02:03:55 2024 +0700

    ext/curl: Fix failing tests due to string changes in libcurl 8.6.0

    Upstream libcurl 8.6.0 contains a change[^1] that caused a test failure.
    This fixes it by updating the test's `EXPECTF` to use a regex to account for both string patterns.

    [^1]: https://github.com/curl/curl/commit/45cf4755e71f#diff-a8a54563608f8155973318f4ddb61d7328dab512b8ff2b5cc48cc76979d4204cL1683

    Closes GH-13293.

commit fc5d83f2b1
Author: Christoph M. Becker <cmbecker69@gmx.de>
Date:   Wed Oct 16 22:46:20 2024 +0200

    Prepare for necessary move to macOS 13

    GH will remove macOS 12 runner images as of December 3rd, so we prepare
    for that.

    Besides the obvious need to change the runner, we also suppress a
    couple of warnings, because otherwise the build would fail due to
    `-Werror`.
2024-10-28 15:57:16 +01:00
Christoph M. Becker
0b5167cff5
[skip ci] Allow to run push workflows manually
As is, we're running the push workflow for all pushes and pull request,
plus we run more comprehensive nightly workflow for all branches which
had commits during the day.  That means that security branches may not
run CI for weeks or even months.  In the meantime, dependencies might
be updated, which can cause later workflow runs to fail.  For instance,
a few openssl tests fail due to security fixes in OpenSSL[1], an update
of Oracle Instant Client causes a couple of oci8 and pdo_oci tests to
fail[2], and the macOS builds do no longer even built (investigation
pending).

Therefore, we allow to run the pull workflow manually, so it is
possible to check the CI condition of temporary inactive branches from
time to time.

[1] <https://github.com/php/php-src/pull/16097>
[2] <https://github.com/php/php-src/pull/16107>

Closes GH-16148.
2024-10-10 02:11:59 +02:00
Christoph M. Becker
d9d82377cc
Update Windows CI to use php-sdk-2.3.0
php-sdk-2.2.0 still fetches dependencies from the no longer up to date
<https://windows.php.net/downloads/php-sdk/deps/>, and as such won't be
tested with any security updates we provide for Windows.  Given that
PHP 8.1 is going to receive security updates for further 15 months, we
should should not ignore these dependency updates.

Closes GH-16097.
2024-10-07 01:05:47 +02:00
Ilija Tovilo
469ad32581
[skip ci] Backport 0e7ef95 and 4f0d4c0 2024-04-21 16:11:55 +02:00
Ilija Tovilo
0e8205bd9a
Use attribute for ignoring Laravel test
Apparently `@group` stopped working.
2023-10-31 11:48:08 +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
c3d2f519d0
[skip ci] Update mysql 5.7 patch 2023-10-30 16:50:30 +01: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
4332546bbf
Move ARM build to CircleCI
Closes GH-12415
2023-10-12 13:11:38 +02:00
Ilija Tovilo
36a87e6d32
Minimal backport of 098d9ca 2023-10-04 15:31:04 +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
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
e3df233aca
[skip ci] Backport GA paths-ignore changes 2023-09-04 13:57:48 +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
ba07a0b846
Move installation of oracle instant client in GHA
Closes GH-12033
2023-08-23 11:28:17 +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
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
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
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
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
43e267aeab
[skip ci] Upgrade libmysql version 2023-05-01 11:28:33 +02:00
Ilija Tovilo
2eeff96df5
[skip ci] Fix Slack notification
ravsamhq/notify-slack-action doesn't work on MacOS, so we use curl directly.
2023-04-13 13:52:23 +02:00
Ilija Tovilo
3a21a87443
[skip ci] Notify Slack on nightly failure 2023-04-03 17:21:12 +02:00
Ilija Tovilo
6b884737c4
Test Windows with opcache on GitHub actions
Fixes GH-10777
2023-03-09 19:20:02 +01:00
Ilija Tovilo
12290b796b
Update libmysql 5.7 version 2023-03-08 22:17:48 +01:00
Ilija Tovilo
cfe1aab865
Enable GitHub actions cancel-in-progress for PRs
Pushing many commits to a pull request in a short amount of time can stall the
merge builds and also wastes energy unnecessarily. Enable concurrency to cancel
workflows of old commits in pull requests. Generate a common group name for pull
requests using github.event.pull_request.url with github.run_id as a fallback
for branches, which is unique and always available.

Closes GH-10799
2023-03-07 11:00:35 +01:00
Ilija Tovilo
28ef654648
Update windows action to checkout@v3 2023-03-05 17:50:22 +01:00
Michael Voříšek
916b132ea0
Add Windows GitHub actions build
Closes GH-10664
2023-03-01 23:02:03 +01:00
Ilija Tovilo
c95125d370
Disable timestamp for GitHub actions ccache 2023-02-07 12:05:01 +01:00
Max Kellermann
f7e678476f
.github/workflows/push.yml: enable ccache
This reduces the LINUX_X64_RELEASE_ZTS build time from 9-10 minutes to
less than 3 minutes.

Closes GH-10395
2023-02-02 18:58:30 +01:00
Ilija Tovilo
c53b065c48
Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Add wordpress to community build
2022-11-17 11:34:08 +01:00
Ilija Tovilo
cdc0a8b06b
Add wordpress to community build
Closes GH-9942
2022-11-17 11:33:19 +01:00
Ilija Tovilo
a2dcb0364a
Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  [skip ci] Skip function JIT in nightly for ASAN
2022-11-11 19:57:39 +01:00
Ilija Tovilo
da54664186
[skip ci] Skip function JIT in nightly for ASAN
This avoids the 6h timeout.
2022-11-11 19:57:00 +01:00
Ilija Tovilo
ed1e703716
Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Migrate i386 to GitHub actions
2022-11-03 14:37:17 +01:00
Ilija Tovilo
75970077b0
Migrate i386 to GitHub actions
Closes GH-9856
2022-11-03 14:34:54 +01:00
Tim Düsterhus
8cd1b837c1
Update to actions/checkout@v3 (PHP-8.1)
see 629fcb6a0f
2022-10-16 15:35:57 +02:00
Tim Düsterhus
6c3b148d7a
Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Update to actions/checkout@v3 (#9759)
2022-10-16 15:33:22 +02:00
Tim Düsterhus
629fcb6a0f
Update to actions/checkout@v3 (#9759)
The relevant difference is that the v3 uses a newer node.js version. GitHub
currently warns when using v2, as the node.js version used is deprecated:

> Node.js 12 actions are deprecated. For more information see:
> https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
> Please update the following actions to use Node.js 16: actions/checkout,
> actions/checkout
2022-10-16 15:33:07 +02:00
Ilija Tovilo
0430e765ea
Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Increase job timeout for ASAN/UBSAN build
2022-10-10 11:36:54 +02:00
Ilija Tovilo
2c8f2e9349
Increase job timeout for ASAN/UBSAN build 2022-10-10 11:35:51 +02:00
Ilija Tovilo
599c2bdbd1
Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Add empty default params to nightly linux matrix
2022-10-06 17:52:39 +02:00
Ilija Tovilo
26499f53fb
Add empty default params to nightly linux matrix
https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations

> For each object in the include list, the key:value pairs in the object will be
> added to each of the matrix combinations if none of the key:value pairs
> overwrite any of the original matrix values.

Hopefully this change can avoid that.
2022-10-06 17:50:46 +02:00
Ilija Tovilo
f3dba7e642
[skip ci ] Rename matrix-include output on old branches
Otherwise we have a discrepancy of the output name between
master:nightly.yml and branch:nightly_matrix.php.
2022-09-29 13:06:43 +02:00
Ilija Tovilo
98f7126cc3
Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Skip Symfony preloading for PHP-8.0
2022-09-29 12:22:19 +02:00
Ilija Tovilo
f49709a544
Skip Symfony preloading for PHP-8.0 2022-09-29 12:20:53 +02:00
Ilija Tovilo
a79e0ee57c
[skip ci] Attempt to fix libmysqlclient build for >=PHP-8.2 2022-09-27 23:54:36 +02:00