Skip to content

Commit

Permalink
Win: Create Backtrace
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l committed Aug 12, 2024
1 parent c1b30ca commit 9eec6a9
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,19 @@ jobs:
restore-keys: |
ccache-windows-winmsvc-${{ hashFiles('.github/workflows/windows.yml') }}-
ccache-windows-winmsvc-
- name: Install Windows SDK
run: |
$ErrorActionPreference = 'Stop'
$installerPath = "$env:TEMP\winsdksetup.exe"
Invoke-WebRequest -Uri https://go.microsoft.com/fwlink/?linkid=2120843 -OutFile $installerPath
Start-Process -FilePath $installerPath -ArgumentList "/Quiet", "/Features", "+", "/Include", "Debuggers" -NoNewWindow -Wait
- name: Verify WinDbg installation
run: |
if (Test-Path "C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\windbg.exe") {
Write-Output "WinDbg installed successfully."
} else {
Write-Error "WinDbg installation failed."
}
- name: Download Dependencies
run: |
Invoke-WebRequest https://github.com/HDFGroup/hdf5/archive/refs/tags/hdf5-1_12_2.tar.gz -OutFile hdf5-1_12_2.tar.gz
Expand Down Expand Up @@ -89,7 +102,7 @@ jobs:
- name: Test
run: |
$env:PATH += ";D:\a\impactx\impactx\build\bin\RelWithDebInfo\"
python3 -m pytest -s -vvv tests/python/
"C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\windbg.exe" -c "g; !analyze -v; k q" -Q -pd python3 -m pytest -s -vvv tests/python/
if(!$?) { Exit $LASTEXITCODE }
- name: validate created openPMD files
run: Get-ChildItem -Path build -Recurse -Filter *.h5 | %{openPMD_check_h5 -i $_}
Expand Down

0 comments on commit 9eec6a9

Please sign in to comment.