From 8ef35d02452d1a91fac77464ba732db4fc27d2e0 Mon Sep 17 00:00:00 2001 From: Sergiu Deitsch Date: Wed, 10 Jul 2024 00:17:45 +0200 Subject: [PATCH] Fix CTest build config parameter Change-Id: I4b7aed9c96c07a4e2b2b58618eb5a2452c845ae2 --- .github/workflows/linux.yml | 2 +- .github/workflows/macos.yml | 2 +- .github/workflows/windows.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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)