1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 01:20:37 +00:00
hyperrogue/.github/workflows/test_simple.sh
still-flow d924b84c1d
make gdb backtraces explicit
mark them as red checks for convenience
2020-09-25 04:05:12 +03:00

16 lines
290 B
Bash
Executable File

set -x -e o pipefail
if [[ "$GH_OS" == "windows-latest" && "$GH_BUILDSYS" == "mymake" ]]; then
cat << ENDOFCMDS > .github/workflows/gdb_cmds.txt
run --version
backtrace
exit 1
ENDOFCMDS
gdb --batch -x .github/workflows/gdb_cmds.txt ./hyperrogue
else
./hyperrogue --version
fi