Skip to content

Commit 30d60d6

Browse files
Pierre-Luc GagnéCopilot
andcommitted
fix: use --test-dir instead of --build-dir for MSVC ctest step
ctest does not have a --build-dir flag; the correct option to specify the build directory is --test-dir (available since CMake 3.20). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 6cf1e21 commit 30d60d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,4 +139,4 @@ jobs:
139139
run: cmake --build build --config Release -j4
140140

141141
- name: Unit tests
142-
run: ctest --build-dir build -C Release -R tests_unit_ds_mysql --output-on-failure
142+
run: ctest --test-dir build -C Release -R tests_unit_ds_mysql --output-on-failure

0 commit comments

Comments
 (0)