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 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 :
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 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 }}
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
You can’t perform that action at this time.
0 commit comments