Skip to content

Commit

Permalink
Update ctest.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KjellKod authored May 22, 2024
1 parent 5eba781 commit ee9adc7
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/ctest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ee9adc7

Please sign in to comment.