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 11, 2024
1 parent 77549fc commit 47366f4
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,20 @@ jobs:
restore-keys: |
ccache-windows-winmsvc-${{ hashFiles('.github/workflows/windows.yml') }}-
ccache-windows-winmsvc-
- name: Install winget
uses: Cyberboss/install-winget@v1
- name: Install WinDbg
run: |
winget install --id jazzdelightsme.WingetPathUpdater -e --accept-package-agreements --accept-source-agreements
winget install --id Microsoft.WinDbg -e --accept-package-agreements --accept-source-agreements
- name: Set WinGet Paths
run: |
echo "$env:LOCALAPPDATA\Microsoft\WinGet\Links" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
echo "$env:ProgramFiles\WinDbg\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
echo "$env:ProgramFiles\Microsoft\WinDbg\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: Test WinDbg
run: |
windbg --help
- 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 +103,7 @@ jobs:
- name: Test
run: |
$env:PATH += ";D:\a\impactx\impactx\build\bin\RelWithDebInfo\"
python3 -m pytest -s -vvv tests/python/
windbg -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 47366f4

Please sign in to comment.