Skip to content

Commit 9010145

Browse files
authored
Fix ctest args
1 parent 51c65f8 commit 9010145

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,8 @@ jobs:
220220
cd ../boost-root
221221
cmake -B __build_cmake -DBUILD_TESTING=1 -DBOOST_INCLUDE_LIBRARIES=type_index -G Ninja .
222222
cmake --build __build_cmake --target tests --config Debug
223-
ctest -B __build_cmake --output-on-failure --no-tests=error -C Debug
223+
cd __build_cmake
224+
ctest --output-on-failure --no-tests=error -C Debug
224225
225226
- name: Run modules tests
226227
if: ${{matrix.toolset == 'msvc-14.3'}}
@@ -229,7 +230,8 @@ jobs:
229230
cd ../boost-root
230231
cmake -B __build_modules -DBOOST_USE_MODULES=1 -DBUILD_TESTING=1 -DCMAKE_CXX_STANDARD=23 -DCMAKE_EXPERIMENTAL_CXX_IMPORT_STD=0e5b6991-d74f-4b3d-a41c-cf096e0b2508 -G Ninja libs/type_index/test/cmake_subdir_test
231232
cmake --build __build_modules
232-
ctest -B __build_modules --no-tests=error -V
233+
cd __build_modules
234+
ctest --no-tests=error -V
233235
234236
- name: Run modules tests without 'import std;'
235237
if: ${{matrix.toolset == 'msvc-14.3'}}
@@ -238,7 +240,8 @@ jobs:
238240
cd ../boost-root
239241
cmake -B __build_modules_std -DBOOST_USE_MODULES=1 -DBUILD_TESTING=1 -DCMAKE_CXX_STANDARD=20 -G Ninja libs/type_index/test/cmake_subdir_test
240242
cmake --build __build_modules_std
241-
ctest -B __build_modules_std --no-tests=error -V -B __build_modules_std
243+
cd __build_modules_std
244+
ctest --no-tests=error -V
242245
243246
- name: Run tests
244247
shell: cmd

0 commit comments

Comments
 (0)