github actions: Add dummy ctest config switch.

This is required on windows, but not on other platforms.
It needs to be the default `Debug` target, rather than
`Release` to match CMAKE_BUILD_TYPE, for the $TARGET_FILE
mapping to produce the correct path.

See https://gitlab.kitware.com/cmake/cmake/-/issues/20283
This commit is contained in:
Ralph Giles 2021-07-10 21:31:21 -07:00
parent 10797d5896
commit 313ab5852f
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ jobs:
CC: ${{ matrix.cc }}
CXX: ${{ matrix.cxx }}
working-directory: cmake-build
run: ctest -V
run: ctest -V -C Debug
- name: Upload logs on failure
uses: actions/upload-artifact@v2