1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Merge branch 'PHP-8.5'

* PHP-8.5:
  GitHub actions: drop more 8.1 CI configuration (#20763)
This commit is contained in:
Daniel Scherzer
2026-01-27 02:08:38 -08:00
4 changed files with 5 additions and 26 deletions

View File

@@ -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

View File

@@ -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