Fix CTest build config parameter
Change-Id: I4b7aed9c96c07a4e2b2b58618eb5a2452c845ae2
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
index eb1463b..40640b4 100644
--- a/.github/workflows/linux.yml
+++ b/.github/workflows/linux.yml
@@ -121,7 +121,7 @@
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 a85ed8c..bca7a1c 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -99,7 +99,7 @@
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 182ed30..fe630f6 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -72,7 +72,7 @@
- name: Test
run: |
cd build_${{matrix.build_type}}/
- ctest --config ${{matrix.build_type}} \
+ ctest --build-config ${{matrix.build_type}} \
--output-on-failure \
-j$(nproc)