update build wf

This commit is contained in:
forbes
2026-01-26 21:31:28 -06:00
parent cd89610e4e
commit d5e5cc17e1

View File

@@ -69,12 +69,19 @@ jobs:
- name: Run C++ unit tests
shell: bash
run: |
set -x
pixi run ctest --test-dir build/release --output-on-failure --timeout 120 -V 2>&1 || {
echo "=== Tests failed, showing last test log ==="
cat build/release/Testing/Temporary/LastTest.log 2>/dev/null || true
exit 1
echo "::group::Running C++ unit tests"
echo "Working directory: $(pwd)"
ls -la build/release/tests/ | head -20
cd build/release
ctest --output-on-failure --timeout 120 --verbose 2>&1 | tee ctest_output.log || {
EXITCODE=$?
echo "::endgroup::"
echo "::error::ctest failed with exit code $EXITCODE"
echo "=== LastTest.log ==="
cat Testing/Temporary/LastTest.log 2>/dev/null || echo "No LastTest.log"
exit $EXITCODE
}
echo "::endgroup::"
- name: Install
run: pixi run install-release