Skip to content

Commit

Permalink
Update ci-mysql.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacyking authored Sep 8, 2023
1 parent e0d341f commit 2b46a1f
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/ci-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,20 @@ jobs:
- name: Verify MySQL
run: mysql -uroot -e'show databases;'

- name: Test
if : startsWith(matrix.os, 'macos')
run : |
mdfind -name "mysql.h"
mdfind -name "mysqlclient*"
- name: Configure cmake
run: cmake -B${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{ matrix.configuration }} -DENABLE_MYSQL=ON
run: cmake -B${{ github.workspace }}/build -DCMAKE_BUILD_TYPE=${{ matrix.configuration }} -DENABLE_MYSQL=ON

- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{ matrix.configuration }}
run: cmake --build ${{ github.workspace }}/build --config ${{ matrix.configuration }}

- name: Test
working-directory: ${{github.workspace}}/build
working-directory: ${{ github.workspace }}/build
env:
CTEST_OUTPUT_ON_FAILURE: 1
run: ctest -C ${{ matrix.configuration }} -j `nproc` -V
run: ctest -C ${{ matrix.configuration }} -j `nproc` -V

0 comments on commit 2b46a1f

Please sign in to comment.