Added Ubuntu 24.04 tests
Co-authored-by: Jules Pénuchot <jules@penuchot.com> See merge request oss/rotgen!33
This commit is contained in:
parent
8fcd92ce1a
commit
991967761d
6 changed files with 254 additions and 142 deletions
14
ci-cd/test-wrapper.sh
Executable file
14
ci-cd/test-wrapper.sh
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd build/$CMAKE_PRESET
|
||||
|
||||
ctest --output-on-failure
|
||||
CTEST_EXIT_CODE=$?
|
||||
|
||||
# If the program fails, show the backtracs
|
||||
if [ $CTEST_EXIT_CODE -ne '0' ]; then
|
||||
gdb -ex run -ex bt --args ctest --output-on-failure
|
||||
fi
|
||||
|
||||
# Forward exit code
|
||||
exit $CTEST_EXIT_CODE
|
||||
Loading…
Add table
Add a link
Reference in a new issue