@@ -40,11 +40,12 @@ permissions:
40
40
concurrency :
41
41
group : ${{ github.workflow }}-${{ github.event.pull_request.url || github.run_id }}
42
42
cancel-in-progress : true
43
- env :
44
- CC : ccache gcc
45
- CXX : ccache g++
43
+ # env:
44
+ # CC: ccache gcc
45
+ # CXX: ccache g++
46
46
jobs :
47
47
LINUX_X64 :
48
+ if : false
48
49
services :
49
50
mysql :
50
51
image : mysql:8
@@ -141,6 +142,7 @@ jobs:
141
142
if : ${{ !matrix.asan }}
142
143
uses : ./.github/actions/verify-generated-files
143
144
MACOS_DEBUG_NTS :
145
+ if : false
144
146
runs-on : macos-12
145
147
steps :
146
148
- name : git checkout
@@ -173,6 +175,7 @@ jobs:
173
175
- name : Verify generated files are up to date
174
176
uses : ./.github/actions/verify-generated-files
175
177
WINDOWS :
178
+ if : false
176
179
name : WINDOWS_X64_ZTS
177
180
runs-on : windows-2019
178
181
env :
@@ -199,7 +202,8 @@ jobs:
199
202
run : .github/scripts/windows/test.bat
200
203
BENCHMARKING :
201
204
name : BENCHMARKING
202
- if : github.repository_owner == 'php' || github.event_name == 'pull_request'
205
+ if : false
206
+ # if: github.repository_owner == 'php' || github.event_name == 'pull_request'
203
207
runs-on : ubuntu-22.04
204
208
steps :
205
209
- name : git checkout
@@ -298,3 +302,52 @@ jobs:
298
302
name : profiles
299
303
path : ${{ github.workspace }}/benchmark/profiles
300
304
retention-days : 30
305
+ LIBMYSQLCLIENT :
306
+ strategy :
307
+ fail-fast : false
308
+ matrix :
309
+ include :
310
+ - branch : { name: 'MASTER', ref: 'master', version: { major: 8, minor: 4 } }
311
+ - branch : { name: 'PHP-83', ref: 'PHP-8.3', version: { major: 8, minor: 3 } }
312
+ - branch : { name: 'PHP-82', ref: 'PHP-8.2', version: { major: 8, minor: 2 } }
313
+ name : " ${{ matrix.branch.name }}_LIBMYSQLCLIENT"
314
+ runs-on : ubuntu-${{ matrix.branch.version.minor >= 3 && '22.04' || '20.04' }}
315
+ steps :
316
+ - name : git checkout
317
+ uses : actions/checkout@v4
318
+ with :
319
+ ref : ${{ matrix.branch.ref }}
320
+ - name : apt
321
+ run : |
322
+ sudo apt-get update -y | true
323
+ sudo apt install bison re2c
324
+ - name : Setup
325
+ run : |
326
+ sudo service mysql start
327
+ mysql -uroot -proot -e "CREATE DATABASE IF NOT EXISTS test"
328
+ # Ensure local_infile tests can run.
329
+ mysql -uroot -proot -e "SET GLOBAL local_infile = true"
330
+ - name : Build mysql-8.0
331
+ uses : ./.github/actions/build-libmysqlclient
332
+ with :
333
+ # FIXME: There are new warnings
334
+ # configurationParameters: --enable-werror
335
+ libmysql : mysql-8.0.35-linux-glibc2.28-x86_64.tar.xz
336
+ withMysqli : ${{ matrix.branch.ref == 'PHP-8.1' }}
337
+ - name : Test mysql-8.0
338
+ uses : ./.github/actions/test-libmysqlclient
339
+ with :
340
+ withMysqli : ${{ matrix.branch.ref == 'PHP-8.1' }}
341
+ - name : Build mysql-8.2
342
+ uses : ./.github/actions/build-libmysqlclient
343
+ with :
344
+ # FIXME: There are new warnings
345
+ # configurationParameters: --enable-werror
346
+ libmysql : mysql-8.2.0-linux-glibc2.28-x86_64.tar.xz
347
+ withMysqli : ${{ matrix.branch.ref == 'PHP-8.1' }}
348
+ - name : Test mysql-8.2
349
+ uses : ./.github/actions/test-libmysqlclient
350
+ with :
351
+ withMysqli : ${{ matrix.branch.ref == 'PHP-8.1' }}
352
+ - name : Verify generated files are up to date
353
+ uses : ./.github/actions/verify-generated-files
0 commit comments