Update ctest.yml (#537)

This commit is contained in:
Kjell Hedström 2024-08-27 21:15:19 -06:00 committed by GitHub
parent c1dd801e42
commit 943487f29a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -54,8 +54,7 @@ jobs:
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
shell: bash shell: bash
working-directory: ${{github.workspace}}/build working-directory: ${{github.workspace}}/build
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DADD_G3LOG_UNIT_TEST=ON
-DADD_G3LOG_UNIT_TEST=ON
- name: Configure Windows CMake - name: Configure Windows CMake
if: matrix.os == 'windows-latest' if: matrix.os == 'windows-latest'
@ -68,10 +67,17 @@ jobs:
shell: bash shell: bash
run: cmake --build . --config $BUILD_TYPE 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 working-directory: ${{github.workspace}}/build
shell: bash shell: bash
run: ctest -C $BUILD_TYP 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 - name: Fatal Exit Example Linux/OSX
working-directory: ${{github.workspace}}/build working-directory: ${{github.workspace}}/build