Skip to content

Commit b994c27

Browse files
authored
Merge pull request #75 from SupinePandora43/sup43-condebug
ci improvements
2 parents cfe8834 + b127b9e commit b994c27

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
cp lua/Tests/run_tests.lua gmod/garrysmod/lua/autorun
5050
5151
- name: Run Garry's Mod
52-
run: ./srcds_run_x64 -game garrysmod -systemtest +sv_hibernate_think 1 || true
52+
run: ./srcds_run_x64 -game garrysmod -systemtest -condebug +sv_hibernate_think 1 || true
5353
working-directory: ./gmod/
5454
timeout-minutes: 1
5555
continue-on-error: true
@@ -61,7 +61,9 @@ jobs:
6161
- name: Print Corehost trace
6262
working-directory: ./gmod/
6363
run: cat corehost_trace.txt
64-
continue-on-error: true
64+
65+
- name: Print console log
66+
run: cat gmod/garrysmod/console.log
6567

6668
- name: Print test log
6769
run: cat gmod/tests-log.txt
@@ -161,8 +163,13 @@ jobs:
161163
- name: Run Garry's Mod
162164
shell: bash
163165
run: |
164-
powershell -Command './gmod/srcds_win64.exe -console -systemtest -game "garrysmod" +exec "server.cfg" +gamemode sandbox +map gm_construct +maxplayers 16 +sv_hibernate_think 1'
165-
sleep 15
166+
powershell -Command './gmod/srcds_win64.exe -console -systemtest -condebug -game "garrysmod" +exec "server.cfg" +gamemode sandbox +map gm_construct +maxplayers 16 +sv_hibernate_think 1'
167+
powershell -Command 'Wait-Process -Name srcds_win64'
168+
timeout-minutes: 5
169+
continue-on-error: true
170+
171+
- name: Print console log
172+
run: cat gmod/garrysmod/console.log
166173

167174
- name: Print test log
168175
shell: bash

0 commit comments

Comments
 (0)