Skip to content

Commit

Permalink
Add debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
walbourn committed Jul 29, 2024
1 parent 50555d0 commit 3716b6d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ on:

env:
DIRECTXTEX_MEDIA_PATH: ${{ github.workspace }}/Media
CTEST_EXTRA_OPTS: ${{ runner.debug == '1' && '--output-on-failure' || '--stop-on-failure' }}

jobs:
build:
Expand Down Expand Up @@ -112,10 +113,10 @@ jobs:
timeout-minutes: 30
name: 'Test (CPU only)'
working-directory: ${{ github.workspace }}
run: ctest --preset=${{ matrix.build_type }} -L Library --output-on-failure
run: ctest --preset=${{ matrix.build_type }} -L Library ${{ env.CTEST_EXTRA_OPTS }}

- 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 --output-on-failure
run: ctest --preset=${{ matrix.build_type }} -L ImageFormats ${{ env.CTEST_EXTRA_OPTS }}

0 comments on commit 3716b6d

Please sign in to comment.