From 44467eb29bf0f08c3dc744556e2b6e3ecd39fadb Mon Sep 17 00:00:00 2001 From: Ilija Tovilo Date: Thu, 16 Nov 2023 11:19:59 +0100 Subject: [PATCH] [skip ci] Update libmysqlclient versions 5.7 is EOL, 8.2 was released. Also remove mysqli from these builds as PHP-8.1 goes into security mode, after which nightly is not really actively supported anymore. Closes GH-12690 --- .github/workflows/nightly.yml | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 6211cbfafdf..224ad8e53f0 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -697,7 +697,7 @@ jobs: matrix: branch: ${{ fromJson(needs.GENERATE_MATRIX.outputs.branches) }} exclude: - - branch: { name: 'PHP-80', ref: 'PHP-8.0' } + - branch: { name: 'PHP-80', ref: 'PHP-8.0', major: 8, minor: 0 } name: "${{ matrix.branch.name }}_LIBMYSQLCLIENT" runs-on: ubuntu-${{ matrix.branch.version.minor >= 3 && '22.04' || '20.04' }} steps: @@ -715,33 +715,26 @@ jobs: mysql -uroot -proot -e "CREATE DATABASE IF NOT EXISTS test" # Ensure local_infile tests can run. mysql -uroot -proot -e "SET GLOBAL local_infile = true" - # Does not support caching_sha2_auth :( - # - name: Build mysql-5.6 - # uses: ./.github/actions/build-libmysqlclient - # with: - # libmysql: mysql-5.6.49-linux-glibc2.12-x86_64.tar.gz - # - name: Test mysql-5.6 - # uses: ./.github/actions/test-libmysqlclient - - name: Build mysql-5.7 - uses: ./.github/actions/build-libmysqlclient - with: - libmysql: mysql-5.7.44-linux-glibc2.12-x86_64.tar.gz - withMysqli: ${{ matrix.branch.ref == 'PHP-8.1' }} - - name: Test mysql-5.7 - uses: ./.github/actions/test-libmysqlclient - with: - withMysqli: ${{ matrix.branch.ref == 'PHP-8.1' }} - name: Build mysql-8.0 uses: ./.github/actions/build-libmysqlclient with: - # FIXME: There are new warnings - # configurationParameters: --enable-werror - libmysql: mysql-8.0.35-linux-glibc2.12-x86_64.tar.xz + configurationParameters: --enable-werror + libmysql: mysql-8.0.35-linux-glibc2.28-x86_64.tar.xz withMysqli: ${{ matrix.branch.ref == 'PHP-8.1' }} - name: Test mysql-8.0 uses: ./.github/actions/test-libmysqlclient with: withMysqli: ${{ matrix.branch.ref == 'PHP-8.1' }} + - name: Build mysql-8.2 + uses: ./.github/actions/build-libmysqlclient + with: + configurationParameters: --enable-werror + libmysql: mysql-8.2.0-linux-glibc2.28-x86_64.tar.xz + withMysqli: ${{ matrix.branch.ref == 'PHP-8.1' }} + - name: Test mysql-8.2 + uses: ./.github/actions/test-libmysqlclient + with: + withMysqli: ${{ matrix.branch.ref == 'PHP-8.1' }} - name: Verify generated files are up to date uses: ./.github/actions/verify-generated-files - name: Notify Slack