From 943487f29a3185a07623c66c18a3f9e02a73bb4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjell=20Hedstr=C3=B6m?= Date: Tue, 27 Aug 2024 21:15:19 -0600 Subject: [PATCH] Update ctest.yml (#537) --- .github/workflows/ctest.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ctest.yml b/.github/workflows/ctest.yml index ffd374d..7776e18 100644 --- a/.github/workflows/ctest.yml +++ b/.github/workflows/ctest.yml @@ -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' @@ -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