Skip to content

Commit 28904fd

Browse files
committed
debug info on windows
1 parent feaf9da commit 28904fd

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/msbuild.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,17 @@ jobs:
9595
- name: Conditional Step for x86 Debug
9696
if: matrix.configuration == 'Debug' && matrix.platform == 'x86'
9797
run: |
98-
set -x
98+
$VerbosePreference = 'Continue'
99+
Write-Verbose "Running debug build"
99100
cp -r XEngine_Source/Debug/*.dll XEngine_Release/
100101
cp -r XEngine_Source/Debug/*.exe XEngine_Release/
101102
cp -r XEngine_Source/VSCopy_x86.bat XEngine_Release/
102103
cd XEngine_Release
103104
./VSCopy_x86.bat
104-
./XEngine_StreamMediaApp.exe -t
105+
106+
try {
107+
./XEngine_StreamMediaApp.exe -t
108+
} catch {
109+
Write-Error "Execution failed with error: $_"
110+
}
105111
shell: pwsh

0 commit comments

Comments
 (0)