@@ -145,6 +145,16 @@ jobs:
145
145
- name : Verify generated files are up to date
146
146
if : ${{ !matrix.asan }}
147
147
uses : ./.github/actions/verify-generated-files
148
+ - name : Build mysql-8.2
149
+ uses : ./.github/actions/build-libmysqlclient
150
+ with :
151
+ configurationParameters : --enable-werror
152
+ libmysql : mysql-8.2.0-linux-glibc2.28-x86_64.tar.xz
153
+ withMysqli : ${{ matrix.branch.ref == 'PHP-8.1' }}
154
+ - name : Test mysql-8.2
155
+ uses : ./.github/actions/test-libmysqlclient
156
+ with :
157
+ withMysqli : ${{ matrix.branch.ref == 'PHP-8.1' }}
148
158
MACOS_DEBUG_NTS :
149
159
if : github.repository_owner == 'php' || github.event_name == 'pull_request'
150
160
strategy :
@@ -314,54 +324,3 @@ jobs:
314
324
name : profiles
315
325
path : ${{ github.workspace }}/benchmark/profiles
316
326
retention-days : 30
317
- LIBMYSQLCLIENT :
318
- needs : GENERATE_MATRIX
319
- if : ${{ needs.GENERATE_MATRIX.outputs.branches != '[]' }}
320
- strategy :
321
- fail-fast : false
322
- matrix :
323
- branch : ${{ fromJson(needs.GENERATE_MATRIX.outputs.branches) }}
324
- name : " ${{ matrix.branch.name }}_LIBMYSQLCLIENT"
325
- runs-on : ubuntu-${{ matrix.branch.version.minor >= 3 && '22.04' || '20.04' }}
326
- steps :
327
- - name : git checkout
328
- uses : actions/checkout@v4
329
- with :
330
- ref : ${{ matrix.branch.ref }}
331
- - name : apt
332
- run : |
333
- sudo apt-get update -y | true
334
- sudo apt install bison re2c
335
- - name : Setup
336
- run : |
337
- sudo service mysql start
338
- mysql -uroot -proot -e "CREATE DATABASE IF NOT EXISTS test"
339
- # Ensure local_infile tests can run.
340
- mysql -uroot -proot -e "SET GLOBAL local_infile = true"
341
- - name : Build mysql-8.0
342
- uses : ./.github/actions/build-libmysqlclient
343
- with :
344
- configurationParameters : --enable-werror
345
- libmysql : mysql-8.0.35-linux-glibc2.28-x86_64.tar.xz
346
- withMysqli : ${{ matrix.branch.ref == 'PHP-8.1' }}
347
- - name : Test mysql-8.0
348
- uses : ./.github/actions/test-libmysqlclient
349
- with :
350
- withMysqli : ${{ matrix.branch.ref == 'PHP-8.1' }}
351
- - name : Build mysql-8.2
352
- uses : ./.github/actions/build-libmysqlclient
353
- with :
354
- configurationParameters : --enable-werror
355
- libmysql : mysql-8.2.0-linux-glibc2.28-x86_64.tar.xz
356
- withMysqli : ${{ matrix.branch.ref == 'PHP-8.1' }}
357
- - name : Test mysql-8.2
358
- uses : ./.github/actions/test-libmysqlclient
359
- with :
360
- withMysqli : ${{ matrix.branch.ref == 'PHP-8.1' }}
361
- - name : Verify generated files are up to date
362
- uses : ./.github/actions/verify-generated-files
363
- - name : Notify Slack
364
- if : failure()
365
- uses : ./.github/actions/notify-slack
366
- with :
367
- token : ${{ secrets.ACTION_MONITORING_SLACK }}
0 commit comments