Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyangyu committed Jun 17, 2024
1 parent 994d4d1 commit 5aabcdd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/compatibility-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -496,9 +496,10 @@ jobs:
- name: Run test on macos
if: ${{ matrix.os == 'macos-14' }}
run: |
brew install mysql mysql-client
brew install mysql-client
flags=$(pkg-config --cflags --libs mysqlclient)
cd example_code/cpp
g++ ConnectTest.cpp -o test -I/usr/local/include/mysql -lmysqlclient
eval "g++ ConnectTest.cpp -o test $flags"
./test ${{needs.setup.outputs.TIDB_CLOUD_HOST}} ${{needs.setup.outputs.TIDB_CLOUD_USER}} ${{ secrets.TIDB_CLOUD_PASSWORD }} ${{matrix.cert}}
- name: Run test on ubuntu
if: ${{ matrix.os == 'ubuntu-22.04' }}
Expand Down

0 comments on commit 5aabcdd

Please sign in to comment.