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:
Jules Pénuchot 2025-10-06 17:03:54 +02:00 committed by Joel Falcou
parent 8fcd92ce1a
commit 991967761d
6 changed files with 254 additions and 142 deletions

14
ci-cd/test-wrapper.sh Executable file
View 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