diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index eb1463b51..40640b4c0 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -121,7 +121,7 @@ jobs: if: matrix.gpu == 'no-cuda' run: | cd build_${{matrix.build_type}}/ - ctest --config ${{matrix.build_type}} \ + ctest --build-config ${{matrix.build_type}} \ --output-on-failure \ -j$(nproc) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index a85ed8cfd..bca7a1ca6 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -99,7 +99,7 @@ jobs: if: matrix.target == 'host' run: | ctest --test-dir build_${{matrix.build_type}} \ - --config ${{matrix.build_type}} \ + --build-config ${{matrix.build_type}} \ --output-on-failure \ -j$(sysctl -n hw.ncpu) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 182ed3088..fe630f619 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -72,7 +72,7 @@ jobs: - name: Test run: | cd build_${{matrix.build_type}}/ - ctest --config ${{matrix.build_type}} \ + ctest --build-config ${{matrix.build_type}} \ --output-on-failure \ -j$(nproc)