Skip to content

Commit 3df54a4

Browse files
committed
Merge remote-tracking branch 'upstream/stable' into stable
2 parents 3811a50 + 8fe1873 commit 3df54a4

File tree

3 files changed

+29
-7
lines changed

3 files changed

+29
-7
lines changed

.github/workflows/main-pm-matrix.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ jobs:
198198
removeArtifacts: true
199199
bodyFile: ${{ github.workspace }}/changelog.md
200200
makeLatest: ${{ inputs.special-release == 'default-latest' }}
201-
prerelease: ${{ inputs.pm-preview == 'true' }}
201+
prerelease: ${{ inputs.pm-preview == true }}
202202

203203
- name: Update php-version PM release
204204
uses: ncipollo/release-action@v1.20.0
@@ -214,5 +214,5 @@ jobs:
214214
removeArtifacts: true
215215
bodyFile: ${{ github.workspace }}/changelog.md
216216
makeLatest: false
217-
prerelease: ${{ inputs.pm-preview == 'true' }}
217+
prerelease: ${{ inputs.pm-preview == true }}
218218

compile.sh

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
2-
PHP_VERSIONS=("8.1.33" "8.2.29" "8.3.25" "8.4.12")
2+
PHP_VERSIONS=("8.1.33" "8.2.29" "8.3.25" "8.4.12" "8.5.0beta3")
33

44
#### NOTE: Tags with "v" prefixes behave weirdly in the GitHub API. They'll be stripped in some places but not others.
55
#### Use commit hashes to avoid this.
@@ -46,6 +46,10 @@ EXT_ZSTD_VERSION="0.15.2"
4646
EXT_GRPC_VERSION="1.57.3"
4747
EXT_VANILLAGENERATOR_VERSION="abd059fd2ca79888aab3b9c5070d83ceea55fada"
4848

49+
EXT_PMMPTHREAD_VERSION_PHP85="4aa34a27feaa43adba5f1e93939828d1d7afdefc"
50+
EXT_XDEBUG_VERSION_PHP85="86727b0b05b5d0a9c4fb85021f05d7931e2c3a35"
51+
EXT_IGBINARY_VERSION_PHP85="8f8b7175c7859f1845bcdee6f7d0baeea7d07cb8"
52+
4953
function write_out {
5054
echo "[$1] $2"
5155
}
@@ -315,6 +319,11 @@ fi
315319
PHP_VERSION_ID=$(php_version_id "$PHP_VERSION")
316320
write_out "opt" "Selected PHP $PHP_VERSION ($PHP_VERSION_ID)"
317321

322+
if [ $PHP_VERSION_ID -ge 80500 ]; then
323+
EXT_PMMPTHREAD_VERSION="$EXT_PMMPTHREAD_VERSION_PHP85"
324+
EXT_XDEBUG_VERSION="$EXT_XDEBUG_VERSION_PHP85"
325+
EXT_IGBINARY_VERSION="$EXT_IGBINARY_VERSION_PHP85"
326+
fi
318327
if [ $PHP_VERSION_ID -ge 80400 ]; then
319328
HAVE_OPCACHE_JIT="yes"
320329
fi
@@ -1774,7 +1783,9 @@ echo "recursionguard.enabled=0 ;disabled due to minor performance impact, only e
17741783
echo "extension_dir=./$INSTALL_DIR/lib/php/extensions/no-debug-zts-20230831" >> "$INSTALL_DIR/bin/php.ini"
17751784

17761785
if [ "$HAVE_OPCACHE" == "yes" ]; then
1777-
echo "zend_extension=opcache.so" >> "$INSTALL_DIR/bin/php.ini"
1786+
if [ "$PHP_VERSION_ID" -lt 80500 ]; then
1787+
echo "zend_extension=opcache.so" >> "$INSTALL_DIR/bin/php.ini"
1788+
fi
17781789
echo "opcache.enable=1" >> "$INSTALL_DIR/bin/php.ini"
17791790
echo "opcache.enable_cli=1" >> "$INSTALL_DIR/bin/php.ini"
17801791
echo "opcache.save_comments=1" >> "$INSTALL_DIR/bin/php.ini"

windows-compile-vs.ps1

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
$ErrorActionPreference="Stop"
22
$ProgressPreference="SilentlyContinue"
33

4-
$PHP_VERSIONS=@("8.1.33", "8.2.29", "8.3.25", "8.4.12")
4+
$PHP_VERSIONS=@("8.1.33", "8.2.29", "8.3.25", "8.4.12", "8.5.0beta3")
55

6-
$PHP_SDK_VER="2.3.0"
6+
$PHP_SDK_VER="2.4.0"
77
$ARCH="x64"
88

99
#### NOTE: Tags with "v" prefixes behave weirdly in the GitHub API. They'll be stripped in some places but not others.
@@ -37,6 +37,10 @@ $PHP_LIBKAFKA_VER="6.0.3"
3737
$PHP_ZSTD_VER="0.15.2"
3838
$PHP_GRPC_VER="1.57.3"
3939

40+
$PHP_PMMPTHREAD_VER_PHP85="4aa34a27feaa43adba5f1e93939828d1d7afdefc"
41+
$PHP_IGBINARY_VER_PHP85="8f8b7175c7859f1845bcdee6f7d0baeea7d07cb8"
42+
$PHP_XDEBUG_VER_PHP85="86727b0b05b5d0a9c4fb85021f05d7931e2c3a35"
43+
4044
function pm-echo {
4145
param ([string] $message)
4246

@@ -209,6 +213,11 @@ if ($PHP_VERSION_ID -ge 80400) {
209213

210214
pm-echo "Selected PHP $PHP_VER ($PHP_VERSION_ID), SDK target $VC_VER ($SDK_TOOLSET_FLAG), CMake target $CMAKE_TARGET ($CMAKE_TOOLSET_FLAG)"
211215

216+
if ($PHP_VERSION_ID -ge 80500) {
217+
$PHP_PMMPTHREAD_VER=$PHP_PMMPTHREAD_VER_PHP85
218+
$PHP_IGBINARY_VER=$PHP_IGBINARY_VER_PHP85
219+
$PHP_XDEBUG_VER=$PHP_XDEBUG_VER_PHP85
220+
}
212221
$PHP_JIT_ENABLE_ARG="no"
213222
if ($PHP_VERSION_ID -ge 80400 -or $env:PHP_JIT_SUPPORT -eq 1) {
214223
$PHP_JIT_ENABLE_ARG="yes"
@@ -797,7 +806,9 @@ append-file-utf8 "extension=php_crypto.dll" $php_ini
797806
append-file-utf8 "extension=php_libdeflate.dll" $php_ini
798807
append-file-utf8 "extension=php_encoding.dll" $php_ini
799808
append-file-utf8 "igbinary.compact_strings=0" $php_ini
800-
append-file-utf8 "zend_extension=php_opcache.dll" $php_ini
809+
if ($PHP_VERSION_ID -lt 80500) {
810+
append-file-utf8 "zend_extension=php_opcache.dll" $php_ini
811+
}
801812
append-file-utf8 "opcache.enable=1" $php_ini
802813
append-file-utf8 "opcache.enable_cli=1" $php_ini
803814
append-file-utf8 "opcache.save_comments=1" $php_ini

0 commit comments

Comments
 (0)