Skip to content

Commit

Permalink
verify cdb version
Browse files Browse the repository at this point in the history
  • Loading branch information
valenting committed Sep 16, 2024
1 parent 87466b7 commit ea2f928
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,19 @@ jobs:
# Download and install the Windows SDK with the latest debugging tools
Invoke-WebRequest -Uri "https://go.microsoft.com/fwlink/?linkid=2120843" -OutFile "winsdksetup.exe"
Start-Process -FilePath ".\winsdksetup.exe" -ArgumentList "/quiet", "/installpath=C:\WinSDK", "/features +DebuggingTools" -Wait
- name: Verify CDB installation and print version
if: |
matrix.os == 'windows-latest' &&
matrix.rust != '1.56.0'
run: |
$cdb_path = "C:\WinSDK\Debuggers\x64\cdb.exe"
if (Test-Path $cdb_path) {
Write-Host "CDB installed at $cdb_path"
& $cdb_path -version
} else {
Write-Host "CDB installation failed"
exit 1
}
- name: Run debugger_visualizer tests
if: |
matrix.os == 'windows-latest' &&
Expand Down

0 comments on commit ea2f928

Please sign in to comment.