Smoke test Windows cmd installer wrapper
ci / test (push) Canceled after 0s
ci / fuzz-smoke (push) Canceled after 0s
ci / macos-client (macos-aarch64, macos-14) (push) Canceled after 0s
ci / macos-client (macos-x86_64, macos-13) (push) Canceled after 0s
ci / windows-client (push) Canceled after 0s
ci / package-release (linux-x86_64, ubuntu-latest, , , ) (push) Canceled after 0s
ci / package-release (macos-aarch64, macos-14, , , ) (push) Canceled after 0s
ci / package-release (macos-x86_64, macos-13, , , ) (push) Canceled after 0s
ci / package-release (windows-aarch64, windows-latest, aarch64, windows, aarch64-pc-windows-msvc) (push) Canceled after 0s
ci / package-release (windows-x86_64, windows-latest, , , ) (push) Canceled after 0s
ci / remote-bench (push) Canceled after 0s
ci / publish-gitea-release (push) Canceled after 0s

This commit is contained in:
DuProcess
2026-07-16 22:54:17 -04:00
parent 294014e93f
commit 8bfec4650e
3 changed files with 29 additions and 1 deletions
+15
View File
@@ -88,6 +88,21 @@ jobs:
$errors | ForEach-Object { Write-Error $_ }
exit 1
}
- name: cmd installer smoke check
shell: pwsh
run: |
$stub = Join-Path $PWD "dosh-install-smoke.ps1"
@'
param([string]$SmokeArg)
if ($SmokeArg -ne "ok") { throw "missing forwarded argument" }
$bindir = Join-Path $env:TEMP "dosh-smoke-bin"
if ($env:DOSH_INSTALL_BINDIR_FILE) {
[System.IO.File]::WriteAllText($env:DOSH_INSTALL_BINDIR_FILE, $bindir, [System.Text.Encoding]::ASCII)
}
'@ | Set-Content -Encoding ascii -NoNewline $stub
$cmd = 'set "DOSH_INSTALL_PS1={0}"&& call install.cmd ok&& echo ;!PATH!; | find /I ";{1}\dosh-smoke-bin;"' -f $stub, $env:TEMP
cmd /d /v:on /c $cmd
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
- name: Build Windows client
run: cargo build --release --bin dosh-client --bin dosh-bench
- name: Test Windows client