1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-15 01:34:49 +00:00
hyperrogue/.github/workflows/test_simple.sh
still-flow b2c741117d improve CI cfg in various ways:
- prettier-looking step names
- add win-mymake build matrix entry
- fix exit commands
- change the way envvars are set up
- other minor changes
- use gdb on win-mymake builds to catch backtraces (temporarily)
2020-09-24 01:27:47 +03:00

15 lines
281 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
ENDOFCMDS
gdb --batch -x .github/workflows/gdb_cmds.txt ./hyperrogue
else
./hyperrogue --version
fi