1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-18 23:47:40 +00:00

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)
This commit is contained in:
still-flow
2020-09-23 22:34:31 +03:00
parent bb6c2e8f04
commit b2c741117d
4 changed files with 45 additions and 41 deletions

View File

@@ -1,5 +1,14 @@
set -e o pipefail
source .github/workflows/gh_ci_envvars.sh
set -x -e o pipefail
./hyperrogue --version
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