File tree Expand file tree Collapse file tree 2 files changed +10
-23
lines changed
Expand file tree Collapse file tree 2 files changed +10
-23
lines changed Original file line number Diff line number Diff line change @@ -51,12 +51,22 @@ if %errorlevel% neq 0 (
5151
5252echo .
5353echo Running async extension tests...
54+ echo Current directory: %CD%
55+ echo Checking for test directories:
5456if exist ..\ext\async\tests (
57+ echo FOUND: ..\ext\async\tests
58+ echo Running tests from ..\ext\async\tests
5559 php.exe run-tests.php --no-progress --show-diff ..\ext\async\tests
5660) else if exist ext\async\tests (
61+ echo FOUND: ext\async\tests
62+ echo Running tests from ext\async\tests
5763 php.exe run-tests.php --no-progress --show-diff ext\async\tests
5864) else (
5965 echo ERROR: Cannot find async tests directory
66+ echo Looking for test directories:
67+ dir ..\ext\async\ 2 > NUL
68+ dir ext\async\ 2 > NUL
69+ dir .\ext\async\ 2 > NUL
6070 exit /b 1
6171)
6272
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-
7552 - name : Setup LibUV
7653 shell : powershell
7754 run : |
You can’t perform that action at this time.
0 commit comments