Skip to content

Commit a39934d

Browse files
committed
ci: diagnose swift.exe startup in Windows spike
1 parent 6195795 commit a39934d

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

‎.github/workflows/windows-spike.yml‎

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,17 @@ jobs:
5151
- name: Locate toolchain
5252
shell: pwsh
5353
run: |
54-
(Get-Command swift -ErrorAction SilentlyContinue).Source
55-
swift --version
54+
$bin = Split-Path (Get-Command swift).Source
55+
Write-Host "bin: $bin"
56+
Get-ChildItem $bin -Filter '*.dll' | Measure-Object | ForEach-Object { Write-Host "dlls in bin: $($_.Count)" }
57+
foreach ($exe in @('swift.exe','clang.exe','swift-frontend.exe')) {
58+
$p = Join-Path $bin $exe
59+
if (Test-Path $p) {
60+
Write-Host "--- $exe ---"
61+
$out = & $p --version 2>&1
62+
Write-Host "exit=$LASTEXITCODE output=$out"
63+
} else { Write-Host "$exe MISSING" }
64+
}
5665
5766
- name: Build shared core (HeadlessProtocol)
5867
shell: pwsh

0 commit comments

Comments
 (0)