diff options
-rw-r--r-- | .github/workflows/cmake-release-build.yml | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/.github/workflows/cmake-release-build.yml b/.github/workflows/cmake-release-build.yml index 195ddd6..85411d7 100644 --- a/.github/workflows/cmake-release-build.yml +++ b/.github/workflows/cmake-release-build.yml @@ -118,8 +118,8 @@ jobs: # Build your program with the given configuration run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --parallel 4 - - name: Test - if: contains(matrix.os, 'ubuntu') || contains(matrix.os, 'windows') + - name: Test Ubuntu + if: contains(matrix.os, 'ubuntu') working-directory: ${{github.workspace}}/build # Execute tests defined by the CMake configuration. # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail @@ -127,6 +127,14 @@ jobs: echo "LSAN_OPTIONS=suppressions=${{ github.workspace }}/suppressions/lsan.supp" >> $GITHUB_ENV CTEST_OUTPUT_ON_FAILURE=1 ctest -C ${{env.BUILD_TYPE}} + - name: Test Windows + if: contains(matrix.os, 'windows') + working-directory: ${{github.workspace}}/build + # Execute tests defined by the CMake configuration. + # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail + run: | + CTEST_OUTPUT_ON_FAILURE=1 ctest -C ${{env.BUILD_TYPE}} + - name: Configure CMake ASAN Ubuntu if: contains(matrix.os, 'ubuntu') # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. |