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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user