Skip to content

Commit

Permalink
Update ctest.yml (#537)
Browse files Browse the repository at this point in the history
  • Loading branch information
KjellKod authored Aug 28, 2024
1 parent c1dd801 commit 943487f
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/ctest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ jobs:
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
shell: bash
working-directory: ${{github.workspace}}/build
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE
-DADD_G3LOG_UNIT_TEST=ON
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DADD_G3LOG_UNIT_TEST=ON

- name: Configure Windows CMake
if: matrix.os == 'windows-latest'
Expand All @@ -68,10 +67,17 @@ jobs:
shell: bash
run: cmake --build . --config $BUILD_TYPE

- name: Test
- name: Test-Linux/Windows
if: matrix.os == 'ubuntu-latest' || matrix.os == 'windows-latest'
working-directory: ${{github.workspace}}/build
shell: bash
run: ctest -C $BUILD_TYP

- name: Test-Linux/Windows
if: matrix.os == 'macos-latest'
working-directory: ${{github.workspace}}/build
shell: bash
run: ctest -V

- name: Fatal Exit Example Linux/OSX
working-directory: ${{github.workspace}}/build
Expand Down

0 comments on commit 943487f

Please sign in to comment.