File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 4949 run : |
5050 xcopy /E /I /H /Y async\.github .github
5151
52+ - name : Install Windows Debugging Tools
53+ shell : pwsh
54+ run : |
55+ $url = "https://download.microsoft.com/download/4/2/2/42245968-6A79-4DA7-A5FB-08C0AD0AE661/windowssdk/winsdksetup.exe"
56+ Invoke-WebRequest -Uri $url -OutFile "winsdksetup.exe"
57+ .\winsdksetup.exe /quiet /norestart /features OptionId.WindowsDesktopDebuggers
58+
59+ - name : Add Windows Debugging Tools to PATH
60+ shell : pwsh
61+ run : |
62+ $dbgPath = "C:\Program Files (x86)\Windows Kits\10\Debuggers\x64"
63+ if (Test-Path $dbgPath) {
64+ Add-Content $Env:GITHUB_PATH $dbgPath
65+ Write-Host "Added $dbgPath to PATH"
66+ } else {
67+ Write-Host "Searching for debugging tools..."
68+ Get-ChildItem "C:\Program Files*\Windows Kits" -Recurse -Name "gflags.exe" -ErrorAction SilentlyContinue | ForEach-Object {
69+ $foundPath = Split-Path (Get-ChildItem "C:\Program Files*\Windows Kits" -Recurse -Filter "gflags.exe" -ErrorAction SilentlyContinue | Select-Object -First 1).FullName
70+ Add-Content $Env:GITHUB_PATH $foundPath
71+ Write-Host "Found and added $foundPath to PATH"
72+ }
73+ }
74+
5275 - name : Setup LibUV
5376 shell : powershell
5477 run : |
You can’t perform that action at this time.
0 commit comments