From fc14d2e8f4d7d78d1b12953a991d248e7c6f2a07 Mon Sep 17 00:00:00 2001 From: zhangyangyu Date: Thu, 8 Aug 2024 22:12:31 +0800 Subject: [PATCH] ping brew mysql to 8.4 https://github.com/Homebrew/homebrew-core/issues/180498 --- .github/workflows/compatibility-test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/compatibility-test.yml b/.github/workflows/compatibility-test.yml index 90befd1..e1c9fbf 100644 --- a/.github/workflows/compatibility-test.yml +++ b/.github/workflows/compatibility-test.yml @@ -233,7 +233,7 @@ jobs: - name: Install mysql in macos if: ${{ matrix.os == 'macos-14' }} run: | - brew install mysql-client + brew install mysql-client@8.4 export PKG_CONFIG_PATH="/opt/homebrew/opt/mysql-client/lib/pkgconfig" pip3 install mysqlclient --break-system-packages - name: Run test on ${{ matrix.os }} @@ -308,7 +308,7 @@ jobs: - name: Install mysql in macos if: ${{ matrix.os == 'macos-14' }} run: | - brew install mysql-client + brew install mysql-client@8.4 export PKG_CONFIG_PATH="/opt/homebrew/opt/mysql-client/lib/pkgconfig" pip3 install mysqlclient --break-system-packages - name: Run test on ${{ matrix.os }} @@ -424,7 +424,7 @@ jobs: - name: Install mysql on macos if: ${{ matrix.os == 'macos-14' }} run: | - brew install mysql + brew install mysql@8.4 cd example_code/ruby # https://github.com/Homebrew/homebrew-core/issues/130258 gem install mysql2 -- --with-mysql-dir=$(brew --prefix mysql) @@ -479,7 +479,7 @@ jobs: - name: Run test on macos if: ${{ matrix.os == 'macos-14' }} run: | - brew install mysql-client + brew install mysql-client@8.4 export PKG_CONFIG_PATH="/opt/homebrew/opt/mysql-client/lib/pkgconfig" flags=$(pkg-config --cflags --libs mysqlclient) cd example_code/cpp