From 0700c4c5903411a8ac887022bb53641d7ee34a6b 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.0 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..91b83b5 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.0 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.0 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.0 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.0 export PKG_CONFIG_PATH="/opt/homebrew/opt/mysql-client/lib/pkgconfig" flags=$(pkg-config --cflags --libs mysqlclient) cd example_code/cpp