Skip to content

Commit

Permalink
More syntax joy
Browse files Browse the repository at this point in the history
  • Loading branch information
walbourn committed Jul 29, 2024
1 parent 1910030 commit 5394249
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:

- name: 'Configure CMake'
working-directory: ${{ github.workspace }}
run: cmake --preset=${{ matrix.build_type }} -DBUILD_TESTING=ON
run: cmake --preset=${{ matrix.build_type }} -DBUILD_TESTING=ON -DBUILD_TOOLS=OFF -DBUILD_SAMPLE=OFF

- name: 'Build'
working-directory: ${{ github.workspace }}
Expand All @@ -112,14 +112,14 @@ jobs:
timeout-minutes: 30
name: 'Test (CPU only)'
working-directory: ${{ github.workspace }}
run: ctest --preset=${{ matrix.build_type }} -L Library ${env:CTEST_DEBUG_OPTS}
run: ctest --preset=${{ matrix.build_type }} -L Library $env:CTEST_DEBUG_OPTS
env:
CTEST_DEBUG_OPTS: ${{ runner.debug == '1' && '--output-on-failure' || '' }}

- if: (matrix.build_type == 'x64-Release') || (matrix.build_type == 'x86-Release')
timeout-minutes: 30
name: 'Test (ImageFormats)'
working-directory: ${{ github.workspace }}
run: ctest --preset=${{ matrix.build_type }} -L ImageFormats ${env:CTEST_DEBUG_OPTS}
run: ctest --preset=${{ matrix.build_type }} -L ImageFormats $env:CTEST_DEBUG_OPTS
env:
CTEST_DEBUG_OPTS: ${{ runner.debug == '1' && '--output-on-failure' || '' }}

0 comments on commit 5394249

Please sign in to comment.