mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2: Upgrade to macOS 14 and backport necessary changes
This commit is contained in:
4
.github/actions/brew/action.yml
vendored
4
.github/actions/brew/action.yml
vendored
@@ -11,10 +11,14 @@ runs:
|
||||
code=" keg.link\(verbose: verbose\?"
|
||||
sudo sed -Ei '' "s/$code.*/$code, overwrite: true\)/" "$formula_installer"
|
||||
|
||||
# Some packages exist on x86 but not arm, or vice versa.
|
||||
# Install them with reinstall to avoid warnings.
|
||||
brew reinstall autoconf webp tidy-html5 libzip libsodium icu4c
|
||||
brew install \
|
||||
bison \
|
||||
re2c
|
||||
brew install \
|
||||
aspell \
|
||||
bzip2 \
|
||||
enchant \
|
||||
libffi \
|
||||
|
||||
36
.github/actions/configure-macos/action.yml
vendored
36
.github/actions/configure-macos/action.yml
vendored
@@ -10,15 +10,15 @@ runs:
|
||||
run: |
|
||||
set -x
|
||||
BREW_OPT="$(brew --prefix)"/opt
|
||||
export PATH="/usr/local/opt/bison/bin:$PATH"
|
||||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/openssl@1.1/lib/pkgconfig"
|
||||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/curl/lib/pkgconfig"
|
||||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/krb5/lib/pkgconfig"
|
||||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/libffi/lib/pkgconfig"
|
||||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/libxml2/lib/pkgconfig"
|
||||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/libxslt/lib/pkgconfig"
|
||||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/zlib/lib/pkgconfig"
|
||||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/icu4c/lib/pkgconfig"
|
||||
export PATH="$BREW_OPT/bison/bin:$PATH"
|
||||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/openssl@1.1/lib/pkgconfig"
|
||||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/curl/lib/pkgconfig"
|
||||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/krb5/lib/pkgconfig"
|
||||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/libffi/lib/pkgconfig"
|
||||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/libxml2/lib/pkgconfig"
|
||||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/libxslt/lib/pkgconfig"
|
||||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/zlib/lib/pkgconfig"
|
||||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/icu4c/lib/pkgconfig"
|
||||
sed -i -e 's/Requires.private:.*//g' "$BREW_OPT/curl/lib/pkgconfig/libcurl.pc"
|
||||
./buildconf --force
|
||||
./configure \
|
||||
@@ -28,8 +28,8 @@ runs:
|
||||
--enable-fpm \
|
||||
--with-pdo-mysql=mysqlnd \
|
||||
--with-mysqli=mysqlnd \
|
||||
--with-pgsql=/usr/local/opt/libpq \
|
||||
--with-pdo-pgsql=/usr/local/opt/libpq \
|
||||
--with-pgsql="$BREW_OPT"/libpq \
|
||||
--with-pdo-pgsql="$BREW_OPT"/libpq \
|
||||
--with-pdo-sqlite \
|
||||
--without-pear \
|
||||
--enable-gd \
|
||||
@@ -42,25 +42,25 @@ runs:
|
||||
--enable-soap \
|
||||
--enable-xmlreader \
|
||||
--with-xsl \
|
||||
--with-tidy=/usr/local/opt/tidy-html5 \
|
||||
--with-tidy="$BREW_OPT"/tidy-html5 \
|
||||
--with-libxml \
|
||||
--enable-sysvsem \
|
||||
--enable-sysvshm \
|
||||
--enable-shmop \
|
||||
--enable-pcntl \
|
||||
--with-readline=/usr/local/opt/readline \
|
||||
--with-readline="$BREW_OPT"/readline \
|
||||
--enable-mbstring \
|
||||
--with-curl \
|
||||
--with-gettext=/usr/local/opt/gettext \
|
||||
--with-gettext="$BREW_OPT"/gettext \
|
||||
--enable-sockets \
|
||||
--with-bz2=/usr/local/opt/bzip2 \
|
||||
--with-bz2="$BREW_OPT"/bzip2 \
|
||||
--with-openssl \
|
||||
--with-gmp=/usr/local/opt/gmp \
|
||||
--with-iconv=/usr/local/opt/libiconv \
|
||||
--with-gmp="$BREW_OPT"/gmp \
|
||||
--with-iconv="$BREW_OPT"/libiconv \
|
||||
--enable-bcmath \
|
||||
--enable-calendar \
|
||||
--enable-ftp \
|
||||
--with-pspell=/usr/local/opt/aspell \
|
||||
--with-pspell="$BREW_OPT"/aspell \
|
||||
--with-kerberos \
|
||||
--enable-sysvmsg \
|
||||
--with-ffi \
|
||||
|
||||
@@ -5,7 +5,7 @@ runs:
|
||||
- shell: bash
|
||||
run: |
|
||||
set -x
|
||||
[[ "$OSTYPE" == "darwin"* ]] && export PATH="/usr/local/opt/bison/bin:$PATH"
|
||||
[[ "$OSTYPE" == "darwin"* ]] && export PATH="$(brew --prefix)/opt/bison/bin:$PATH"
|
||||
scripts/dev/credits
|
||||
scripts/dev/genfiles
|
||||
Zend/zend_vm_gen.php
|
||||
|
||||
4
.github/workflows/push.yml
vendored
4
.github/workflows/push.yml
vendored
@@ -181,7 +181,7 @@ jobs:
|
||||
-d opcache.enable_cli=1
|
||||
MACOS_DEBUG_NTS:
|
||||
if: github.repository == 'php/php-src' || github.event_name == 'pull_request'
|
||||
runs-on: macos-13
|
||||
runs-on: macos-14
|
||||
steps:
|
||||
- name: git checkout
|
||||
uses: actions/checkout@v4
|
||||
@@ -199,7 +199,7 @@ jobs:
|
||||
configurationParameters: --enable-debug --disable-zts
|
||||
- name: make
|
||||
run: |-
|
||||
export PATH="/usr/local/opt/bison/bin:$PATH"
|
||||
export PATH="$(brew --prefix)/opt/bison/bin:$PATH"
|
||||
make -j$(sysctl -n hw.logicalcpu) >/dev/null
|
||||
- name: make install
|
||||
run: sudo make install
|
||||
|
||||
Reference in New Issue
Block a user