Commit 2b49403378e for php.net
commit 2b49403378e95bb7566b8a64c909a8fcaec1fab3
Author: Daniel Scherzer <daniel.e.scherzer@gmail.com>
Date: Tue Jan 27 02:04:47 2026 -0800
GitHub actions: drop more 8.1 CI configuration (#20763)
* remove `libmysqlclient_with_mysqli` support from nightly workflow
* remove `libmysqlclient_with_mysqli` support from root workflow
* remove `withMysqli` support from `build-libmysqlclient` action
* remove `withMysqli` support from `test-libmysqlclient` action
* in root workflow, drop code checking for PHP 8.1
[skip ci]
diff --git a/.github/actions/build-libmysqlclient/action.yml b/.github/actions/build-libmysqlclient/action.yml
index bab2bc544a1..632c1e8ea16 100644
--- a/.github/actions/build-libmysqlclient/action.yml
+++ b/.github/actions/build-libmysqlclient/action.yml
@@ -5,8 +5,6 @@ inputs:
required: false
libmysql:
required: true
- withMysqli:
- required: true
runs:
using: composite
steps:
@@ -21,13 +19,11 @@ runs:
wget -nv $URL
tar -xf $LIBMYSQL --strip-components=1 -C $MYSQL_DIR
PDO_MYSQL=${MYSQL_DIR}
- ${{ inputs.withMysqli == 'true' && 'MYSQLI=${MYSQL_DIR}/bin/mysql_config' || '' }}
./buildconf --force
./configure ${{ inputs.configurationParameters }} \
--enable-option-checking=fatal \
--disable-all \
--enable-pdo \
- --with-pdo-mysql=${PDO_MYSQL} \
- ${{ inputs.withMysqli == 'true' && '--with-mysqli=${MYSQLI}' || '' }}
+ --with-pdo-mysql=${PDO_MYSQL}
make clean
make -j$(/usr/bin/nproc) >/dev/null
diff --git a/.github/actions/test-libmysqlclient/action.yml b/.github/actions/test-libmysqlclient/action.yml
index 74474225e67..185e909f965 100644
--- a/.github/actions/test-libmysqlclient/action.yml
+++ b/.github/actions/test-libmysqlclient/action.yml
@@ -1,15 +1,10 @@
name: Test libmysqlclient
-inputs:
- withMysqli:
- required: true
runs:
using: composite
steps:
- shell: bash
run: |
set -x
- ${{ inputs.withMysqli == 'true' && 'export MYSQL_TEST_USER=root' || '' }}
- ${{ inputs.withMysqli == 'true' && 'export MYSQL_TEST_PASSWD=root' || '' }}
export PDO_MYSQL_TEST_DSN="mysql:host=127.0.0.1;dbname=test"
export PDO_MYSQL_TEST_HOST=127.0.0.1
export PDO_MYSQL_TEST_USER=root
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index fc490f079b6..019e779d56c 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -11,9 +11,6 @@ on:
community_verify_type_inference:
required: true
type: boolean
- libmysqlclient_with_mysqli:
- required: true
- type: boolean
run_alpine:
required: true
type: boolean
@@ -854,25 +851,17 @@ jobs:
- name: Build mysql-8.0
uses: ./.github/actions/build-libmysqlclient
with:
- configurationParameters: ${{ !inputs.libmysqlclient_with_mysqli && '--enable-werror' || '' }}
+ configurationParameters: '--enable-werror'
libmysql: mysql-8.0.37-linux-glibc2.28-x86_64.tar.xz
- withMysqli: ${{ inputs.libmysqlclient_with_mysqli }}
- name: Test mysql-8.0
uses: ./.github/actions/test-libmysqlclient
- with:
- withMysqli: ${{ inputs.libmysqlclient_with_mysqli }}
- name: Build mysql-8.4
- if: ${{ !inputs.libmysqlclient_with_mysqli }}
uses: ./.github/actions/build-libmysqlclient
with:
- configurationParameters: ${{ !inputs.libmysqlclient_with_mysqli && '--enable-werror' || '' }}
+ configurationParameters: '--enable-werror'
libmysql: mysql-8.4.0-linux-glibc2.28-x86_64.tar.xz
- withMysqli: ${{ inputs.libmysqlclient_with_mysqli }}
- name: Test mysql-8.4
- if: ${{ !inputs.libmysqlclient_with_mysqli }}
uses: ./.github/actions/test-libmysqlclient
- with:
- withMysqli: ${{ inputs.libmysqlclient_with_mysqli }}
- name: Verify generated files are up to date
uses: ./.github/actions/verify-generated-files
PECL:
diff --git a/.github/workflows/root.yml b/.github/workflows/root.yml
index 767a853e7c8..6958a9cd414 100644
--- a/.github/workflows/root.yml
+++ b/.github/workflows/root.yml
@@ -46,7 +46,6 @@ jobs:
|| '22.04' }}
branch: ${{ matrix.branch.ref }}
community_verify_type_inference: ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) || matrix.branch.version[0] >= 9 }}
- libmysqlclient_with_mysqli: ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] == 1) }}
run_alpine: ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) || matrix.branch.version[0] >= 9 }}
run_linux_ppc64: ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) || matrix.branch.version[0] >= 9 }}
run_macos_arm64: ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) || matrix.branch.version[0] >= 9 }}
@@ -56,8 +55,8 @@ jobs:
|| '22.04' }}
windows_version: '2022'
vs_crt_version: ${{ ((matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) && 'vs17') || 'vs16' }}
- skip_laravel: ${{ matrix.branch.version[0] == 8 && matrix.branch.version[1] == 1 }}
+ skip_laravel: false
symfony_version: ${{ (((matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) || matrix.branch.version[0] >= 9) && '8.1') || '7.4' }}
- skip_wordpress: ${{ matrix.branch.version[0] == 8 && matrix.branch.version[1] == 1 }}
+ skip_wordpress: false
variation_enable_zend_max_execution_timers: ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 3) || matrix.branch.version[0] >= 9 }}
secrets: inherit