Skip to content

Commit d13ab31

Browse files
committed
Merge branch 'main' into pr_forceinline
2 parents 4df7f8d + 4a37611 commit d13ab31

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

.github/workflows/cmake-multi-platform.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,7 @@ jobs:
6161
run: cmake --build ${{ steps.vars.outputs.dir }} --config ${{ matrix.build_type }}
6262

6363
- name: Test
64-
working-directory: ${{ steps.vars.outputs.dir }}
65-
shell: bash
66-
run: |
67-
if [[ "${{ matrix.os }}" == "windows-latest" ]]; then
68-
ctest --build-config ${{ matrix.build_type }} --verbose
69-
else
70-
ctest --verbose
71-
fi
64+
working-directory: ${{ steps.strings.outputs.build-output-dir }}
65+
# Execute tests defined by the CMake configuration. Note that --build-config is needed because the default Windows generator is a multi-config generator (Visual Studio generator).
66+
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
67+
run: ctest --build-config ${{ matrix.build_type }} --verbose

0 commit comments

Comments
 (0)