Skip to content

Commit 37e077d

Browse files
committed
add more debug output
1 parent 90a45a5 commit 37e077d

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,17 @@ jobs:
136136
Test-Path $test1Exe | % { "test_01 exe exists: $_" }
137137
Test-Path $test2Exe | % { "test_02 exe exists: $_" }
138138
139+
Write-Host "`n=== Release tree (3 levels) ==="
140+
$root = Join-Path $env:GITHUB_WORKSPACE 'Release'
141+
if (-not (Test-Path $root)) {
142+
Write-Host "Release directory not found: $root"
143+
exit 1
144+
}
145+
Get-ChildItem -Path $root -Recurse -Depth 3 | ForEach-Object {
146+
$indent = ' ' * (($_.FullName.Split([IO.Path]::DirectorySeparatorChar).Count - $root.Split([IO.Path]::DirectorySeparatorChar).Count - 1))
147+
Write-Host "$indent$($_.Name)"
148+
}
149+
139150
140151
# Helper to run with timeout + capture logs
141152
function Run-TestExe {
@@ -173,6 +184,22 @@ jobs:
173184
cpack -C Release
174185
Copy-Item distribution\svZeroDSolver_* -Destination ..\
175186
187+
- name: Upload debug artifacts (Windows)
188+
if: startsWith(matrix.os, 'windows')
189+
uses: actions/upload-artifact@v4
190+
with:
191+
name: windows-debug-artifacts
192+
path: |
193+
Release/solver_help_out.txt
194+
Release/solver_help_err.txt
195+
tests/test_interface/build_tests/test_01/out.txt
196+
tests/test_interface/build_tests/test_01/err.txt
197+
tests/test_interface/build_tests/test_01/*.dmp
198+
tests/test_interface/build_tests/test_02/out.txt
199+
tests/test_interface/build_tests/test_02/err.txt
200+
tests/test_interface/build_tests/test_02/*.dmp
201+
if-no-files-found: ignore
202+
176203
- name: Upload installer
177204
uses: actions/upload-artifact@v4
178205
with:

0 commit comments

Comments
 (0)