File tree Expand file tree Collapse file tree 4 files changed +5
-26
lines changed
Expand file tree Collapse file tree 4 files changed +5
-26
lines changed Original file line number Diff line number Diff line change 55 required : false
66 libmysql :
77 required : true
8- withMysqli :
9- required : true
108runs :
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
Original file line number Diff line number Diff line change 11name : Test libmysqlclient
2- inputs :
3- withMysqli :
4- required : true
52runs :
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
Original file line number Diff line number Diff line change 1111 community_verify_type_inference :
1212 required : true
1313 type : boolean
14- libmysqlclient_with_mysqli :
15- required : true
16- type : boolean
1714 macos_arm64_version :
1815 required : true
1916 type : string
@@ -839,25 +836,17 @@ jobs:
839836 - name : Build mysql-8.0
840837 uses : ./.github/actions/build-libmysqlclient
841838 with :
842- configurationParameters : ${{ !inputs.libmysqlclient_with_mysqli && '--enable-werror' || '' }}
839+ configurationParameters : ' --enable-werror'
843840 libmysql : mysql-8.0.37-linux-glibc2.28-x86_64.tar.xz
844- withMysqli : ${{ inputs.libmysqlclient_with_mysqli }}
845841 - name : Test mysql-8.0
846842 uses : ./.github/actions/test-libmysqlclient
847- with :
848- withMysqli : ${{ inputs.libmysqlclient_with_mysqli }}
849843 - name : Build mysql-8.4
850- if : ${{ !inputs.libmysqlclient_with_mysqli }}
851844 uses : ./.github/actions/build-libmysqlclient
852845 with :
853- configurationParameters : ${{ !inputs.libmysqlclient_with_mysqli && '--enable-werror' || '' }}
846+ configurationParameters : ' --enable-werror'
854847 libmysql : mysql-8.4.0-linux-glibc2.28-x86_64.tar.xz
855- withMysqli : ${{ inputs.libmysqlclient_with_mysqli }}
856848 - name : Test mysql-8.4
857- if : ${{ !inputs.libmysqlclient_with_mysqli }}
858849 uses : ./.github/actions/test-libmysqlclient
859- with :
860- withMysqli : ${{ inputs.libmysqlclient_with_mysqli }}
861850 - name : Verify generated files are up to date
862851 uses : ./.github/actions/verify-generated-files
863852 PECL :
Original file line number Diff line number Diff line change 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 macos_arm64_version : ${{ ((matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 5) || matrix.branch.version[0] >= 9) && '15' || '14' }}
5150 run_alpine : ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) || matrix.branch.version[0] >= 9 }}
5251 run_linux_ppc64 : ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) || matrix.branch.version[0] >= 9 }}
5756 || '22.04' }}
5857 windows_version : ' 2022'
5958 vs_crt_version : ${{ ((matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) && 'vs17') || 'vs16' }}
60- skip_laravel : ${{ matrix.branch.version[0] == 8 && matrix.branch.version[1] == 1 }}
59+ skip_laravel : false
6160 symfony_version : ${{ (((matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) || matrix.branch.version[0] >= 9) && '8.1') || '7.4' }}
62- skip_wordpress : ${{ matrix.branch.version[0] == 8 && matrix.branch.version[1] == 1 }}
61+ skip_wordpress : false
6362 variation_enable_zend_max_execution_timers : ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 3) || matrix.branch.version[0] >= 9 }}
6463 secrets : inherit
You can’t perform that action at this time.
0 commit comments