It provides broken tools like diff, patch. Also fix PATH in test stage
Unified · Split
| @@ -118,7 +118,8 @@ jobs: · 117 unmodified lines | ||
| 118 | 118 | - name: Build |
| 119 | 119 | id: build |
| 120 | 120 | run: | |
| 121 | − $env:PATH = ($env:PATH -split ';' | Where-Object { $_ -ne 'C:\Program Files\LLVM\bin' }) -join ';' | |
| 121 | + $env:PATH = ($env:PATH -split ';' | Where-Object { $_ -ne 'C:\Program Files\LLVM\bin' -and ` | |
| 122 | + $_ -ne 'C:\Strawberry\c\bin' }) -join ';' | |
| 122 | 123 | Import-Module "$env:VS\Common7\Tools\Microsoft.VisualStudio.DevShell.dll" |
| 123 | 124 | Enter-VsDevShell -VsInstallPath $env:VS -SkipAutomaticLocation -DevCmdArguments "-arch=x64 -host_arch=x64" |
| 124 | 125 | ./ci/build-win32.ps1 |
| @@ -131,6 +132,8 @@ jobs: · 6 unmodified lines | ||
| 131 | 132 | - name: Run meson tests |
| 132 | 133 | id: tests |
| 133 | 134 | run: | |
| 135 | + $env:PATH = ($env:PATH -split ';' | Where-Object { $_ -ne 'C:\Program Files\LLVM\bin' -and ` | |
| 136 | + $_ -ne 'C:\Strawberry\c\bin' }) -join ';' | |
| 134 | 137 | Import-Module "$env:VS\Common7\Tools\Microsoft.VisualStudio.DevShell.dll" |
| 135 | 138 | Enter-VsDevShell -VsInstallPath $env:VS -SkipAutomaticLocation -DevCmdArguments "-arch=x64 -host_arch=x64" |
| 136 | 139 | meson test -C build mpv: |