Skip to content

Commit 0378968

Browse files
committed
CI update for windows-build job
1 parent 08d4dbc commit 0378968

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,12 +161,20 @@ jobs:
161161
cp lua/Tests/run_tests.lua gmod/garrysmod/lua/autorun
162162
163163
- name: Run Garry's Mod
164-
shell: bash
164+
shell: pwsh
165165
run: |
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'
166+
./gmod/srcds_win64.exe -console -systemtest -condebug -game "garrysmod" +exec "server.cfg" +gamemode sandbox +map gm_construct +maxplayers 16 +sv_hibernate_think 1
167+
Wait-Process -Name srcds_win64
168168
timeout-minutes: 5
169169
continue-on-error: true
170+
env:
171+
COREHOST_TRACE: 1
172+
COREHOST_TRACE_VERBOSITY: 4
173+
COREHOST_TRACEFILE: corehost_trace.txt
174+
175+
- name: Print Corehost trace
176+
working-directory: ./gmod/
177+
run: cat corehost_trace.txt
170178

171179
- name: Print console log
172180
run: cat gmod/garrysmod/console.log

0 commit comments

Comments
 (0)