Skip to content

Commit eb10255

Browse files
Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3: GitHub actions: drop more 8.1 CI configuration (#20763)
2 parents 56e5a80 + 3aef16a commit eb10255

File tree

4 files changed

+5
-26
lines changed

4 files changed

+5
-26
lines changed

.github/actions/build-libmysqlclient/action.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ inputs:
55
required: false
66
libmysql:
77
required: true
8-
withMysqli:
9-
required: true
108
runs:
119
using: composite
1210
steps:
@@ -21,13 +19,11 @@ runs:
2119
wget -nv $URL
2220
tar -xf $LIBMYSQL --strip-components=1 -C $MYSQL_DIR
2321
PDO_MYSQL=${MYSQL_DIR}
24-
${{ inputs.withMysqli == 'true' && 'MYSQLI=${MYSQL_DIR}/bin/mysql_config' || '' }}
2522
./buildconf --force
2623
./configure ${{ inputs.configurationParameters }} \
2724
--enable-option-checking=fatal \
2825
--disable-all \
2926
--enable-pdo \
30-
--with-pdo-mysql=${PDO_MYSQL} \
31-
${{ inputs.withMysqli == 'true' && '--with-mysqli=${MYSQLI}' || '' }}
27+
--with-pdo-mysql=${PDO_MYSQL}
3228
make clean
3329
make -j$(/usr/bin/nproc) >/dev/null

.github/actions/test-libmysqlclient/action.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
11
name: Test libmysqlclient
2-
inputs:
3-
withMysqli:
4-
required: true
52
runs:
63
using: composite
74
steps:
85
- shell: bash
96
run: |
107
set -x
11-
${{ inputs.withMysqli == 'true' && 'export MYSQL_TEST_USER=root' || '' }}
12-
${{ inputs.withMysqli == 'true' && 'export MYSQL_TEST_PASSWD=root' || '' }}
138
export PDO_MYSQL_TEST_DSN="mysql:host=127.0.0.1;dbname=test"
149
export PDO_MYSQL_TEST_HOST=127.0.0.1
1510
export PDO_MYSQL_TEST_USER=root

.github/workflows/nightly.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ on:
1111
community_verify_type_inference:
1212
required: true
1313
type: boolean
14-
libmysqlclient_with_mysqli:
15-
required: true
16-
type: boolean
1714
run_alpine:
1815
required: true
1916
type: boolean
@@ -854,25 +851,17 @@ jobs:
854851
- name: Build mysql-8.0
855852
uses: ./.github/actions/build-libmysqlclient
856853
with:
857-
configurationParameters: ${{ !inputs.libmysqlclient_with_mysqli && '--enable-werror' || '' }}
854+
configurationParameters: '--enable-werror'
858855
libmysql: mysql-8.0.37-linux-glibc2.28-x86_64.tar.xz
859-
withMysqli: ${{ inputs.libmysqlclient_with_mysqli }}
860856
- name: Test mysql-8.0
861857
uses: ./.github/actions/test-libmysqlclient
862-
with:
863-
withMysqli: ${{ inputs.libmysqlclient_with_mysqli }}
864858
- name: Build mysql-8.4
865-
if: ${{ !inputs.libmysqlclient_with_mysqli }}
866859
uses: ./.github/actions/build-libmysqlclient
867860
with:
868-
configurationParameters: ${{ !inputs.libmysqlclient_with_mysqli && '--enable-werror' || '' }}
861+
configurationParameters: '--enable-werror'
869862
libmysql: mysql-8.4.0-linux-glibc2.28-x86_64.tar.xz
870-
withMysqli: ${{ inputs.libmysqlclient_with_mysqli }}
871863
- name: Test mysql-8.4
872-
if: ${{ !inputs.libmysqlclient_with_mysqli }}
873864
uses: ./.github/actions/test-libmysqlclient
874-
with:
875-
withMysqli: ${{ inputs.libmysqlclient_with_mysqli }}
876865
- name: Verify generated files are up to date
877866
uses: ./.github/actions/verify-generated-files
878867
PECL:

.github/workflows/root.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ jobs:
4646
|| '22.04' }}
4747
branch: ${{ matrix.branch.ref }}
4848
community_verify_type_inference: ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) || matrix.branch.version[0] >= 9 }}
49-
libmysqlclient_with_mysqli: ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] == 1) }}
5049
run_alpine: ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) || matrix.branch.version[0] >= 9 }}
5150
run_linux_ppc64: ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) || matrix.branch.version[0] >= 9 }}
5251
run_macos_arm64: ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) || matrix.branch.version[0] >= 9 }}
@@ -56,8 +55,8 @@ jobs:
5655
|| '22.04' }}
5756
windows_version: '2022'
5857
vs_crt_version: ${{ ((matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) && 'vs17') || 'vs16' }}
59-
skip_laravel: ${{ matrix.branch.version[0] == 8 && matrix.branch.version[1] == 1 }}
58+
skip_laravel: false
6059
symfony_version: ${{ (((matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) || matrix.branch.version[0] >= 9) && '8.1') || '7.4' }}
61-
skip_wordpress: ${{ matrix.branch.version[0] == 8 && matrix.branch.version[1] == 1 }}
60+
skip_wordpress: false
6261
variation_enable_zend_max_execution_timers: ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 3) || matrix.branch.version[0] >= 9 }}
6362
secrets: inherit

0 commit comments

Comments
 (0)