Fix bug where CTest failing did not fail CI job

This commit is contained in:
Chris Thrasher 2023-04-07 20:42:54 -06:00
parent 1da3e8015b
commit 7a8192ada9

View File

@ -114,6 +114,7 @@ jobs:
warning_on_retry: false warning_on_retry: false
shell: bash shell: bash
command: | command: |
set -e
if [ "${{ runner.os }}" == "Windows" ]; then if [ "${{ runner.os }}" == "Windows" ]; then
# Make use of a test to print OpenGL vendor/renderer/version info to the console # Make use of a test to print OpenGL vendor/renderer/version info to the console
find $GITHUB_WORKSPACE/build/bin -name test-sfml-window.exe -exec {} --test-case="[Window] sf::Context" --subcase="Version String" \; | grep OpenGL find $GITHUB_WORKSPACE/build/bin -name test-sfml-window.exe -exec {} --test-case="[Window] sf::Context" --subcase="Version String" \; | grep OpenGL