From ee9adc7668e267e31ae344bb973276e460df9803 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjell=20Hedstr=C3=B6m?= Date: Wed, 22 May 2024 14:12:27 -0700 Subject: [PATCH] Update ctest.yml --- .github/workflows/ctest.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ctest.yml b/.github/workflows/ctest.yml index 98e6129a..dd9c9014 100644 --- a/.github/workflows/ctest.yml +++ b/.github/workflows/ctest.yml @@ -49,24 +49,25 @@ jobs: - name: Create Build Environment run: cmake -E make_directory ${{github.workspace}}/build - - name: Configure CMake + - name: Configure Linux/OSX CMake + 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 + + - name: Configure Windows CMake + if: matrix.os == 'windows-latest' + shell: pwsh + working-directory: ${{github.workspace}}/build + run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE + -DADD_G3LOG_UNIT_TEST=ON - name: Build Linux/OSx working-directory: ${{github.workspace}}/build - if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' shell: bash run: cmake --build . --config $BUILD_TYPE - - name: Build Windows - working-directory: ${{github.workspace}}/build - if: matrix.os == 'windows-latest' - shell: pwsh - run: cmake --build . --config $BUILD_TYPE - - name: Test working-directory: ${{github.workspace}}/build shell: bash