From 53942497255976de928b7ca413552f4427cd25aa Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Sun, 28 Jul 2024 18:51:07 -0700 Subject: [PATCH] More syntax joy --- .github/workflows/test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 96c37577..b78be627 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 }} @@ -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' || '' }}