ci(windows): make setup-windows-runner.ps1 ASCII-clean
apple / swift (push) Successful in 53s
ci / docs-site (push) Successful in 28s
android / android (push) Successful in 2m0s
ci / rust (push) Failing after 57s
ci / web (push) Successful in 31s
deb / build-publish (push) Successful in 2m24s
decky / build-publish (push) Successful in 22s
ci / bench (push) Successful in 4m30s
docker / build-push (., web/Dockerfile, punktfunk-web) (push) Successful in 17s
docker / build-push (--build-arg FEDORA_VERSION=44, ci, ci/fedora-rpm.Dockerfile, punktfunk-fedora44-rpm) (push) Successful in 2m35s
docker / build-push (docs-site, docs-site/Dockerfile, punktfunk-docs) (push) Has been cancelled
docker / deploy-docs (push) Has been cancelled
docker / build-push (ci, ci/rust-ci.Dockerfile, punktfunk-rust-ci) (push) Has been cancelled
rpm / build-publish (bazzite, punktfunk-fedora-rpm) (push) Has been cancelled
rpm / build-publish (fedora-44, punktfunk-fedora44-rpm) (push) Has been cancelled
docker / build-push (ci, ci/fedora-rpm.Dockerfile, punktfunk-fedora-rpm) (push) Has been cancelled
apple / swift (push) Successful in 53s
ci / docs-site (push) Successful in 28s
android / android (push) Successful in 2m0s
ci / rust (push) Failing after 57s
ci / web (push) Successful in 31s
deb / build-publish (push) Successful in 2m24s
decky / build-publish (push) Successful in 22s
ci / bench (push) Successful in 4m30s
docker / build-push (., web/Dockerfile, punktfunk-web) (push) Successful in 17s
docker / build-push (--build-arg FEDORA_VERSION=44, ci, ci/fedora-rpm.Dockerfile, punktfunk-fedora44-rpm) (push) Successful in 2m35s
docker / build-push (docs-site, docs-site/Dockerfile, punktfunk-docs) (push) Has been cancelled
docker / deploy-docs (push) Has been cancelled
docker / build-push (ci, ci/rust-ci.Dockerfile, punktfunk-rust-ci) (push) Has been cancelled
rpm / build-publish (bazzite, punktfunk-fedora-rpm) (push) Has been cancelled
rpm / build-publish (fedora-44, punktfunk-fedora44-rpm) (push) Has been cancelled
docker / build-push (ci, ci/fedora-rpm.Dockerfile, punktfunk-fedora-rpm) (push) Has been cancelled
PowerShell 5.1 reads .ps1 in the system code page; an em-dash inside a string literal misparsed (its bytes look like a quote) and the non-ASCII username in the daemon wrapper would have been mangled. Drop the em-dash and copy rustup toolchains to C:\Users\Public\.rustup so the wrapper carries no non-ASCII path. Prep validated: act_runner 1.0.8 + Node 20 + config generated. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -71,11 +71,18 @@ if (-not (Test-Path "$RunnerHome\.runner")) {
|
||||
& $Exe register --no-interactive --instance $Instance --token $Token --name $RunnerName --labels $Labels
|
||||
}
|
||||
|
||||
# rustup toolchains under an ASCII path so nothing in the daemon env carries the non-ASCII
|
||||
# username (the same hazard that breaks SDL3's PCH; here it also keeps this script ASCII-clean).
|
||||
if (-not (Test-Path "C:\Users\Public\.rustup\settings.toml")) {
|
||||
Write-Host "==> copying rustup toolchains to an ASCII path"
|
||||
robocopy "$env:USERPROFILE\.rustup" "C:\Users\Public\.rustup" /E /NFL /NDL /NJH /NJS /MT:16 | Out-Null
|
||||
}
|
||||
|
||||
# --- daemon env wrapper (the box's MSVC/WinUI/FFmpeg toolchain) ---
|
||||
$wrapper = "$RunnerHome\run-runner.ps1"
|
||||
@'
|
||||
$env:CARGO_HOME = "C:\Users\Public\.cargo"
|
||||
$env:RUSTUP_HOME = "C:\Users\Enrico Bühler\.rustup"
|
||||
$env:RUSTUP_HOME = "C:\Users\Public\.rustup"
|
||||
$env:CMAKE_POLICY_VERSION_MINIMUM = "3.5"
|
||||
$env:LIBCLANG_PATH = "C:\Program Files\LLVM\bin"
|
||||
$env:FFMPEG_DIR = "C:\Users\Public\ffmpeg"
|
||||
@@ -104,4 +111,4 @@ Start-Sleep -Seconds 4
|
||||
Write-Host "==> runner '$RunnerName' labels=$Labels instance=$Instance"
|
||||
$p = Get-Process act_runner -ErrorAction SilentlyContinue
|
||||
if ($p) { Write-Host "daemon running (pid $($p.Id), session $($p.SessionId))" }
|
||||
else { Write-Warning "daemon not running yet — check $RunnerHome\runner task / logs" }
|
||||
else { Write-Warning "daemon not running yet - check the gitea-act-runner task" }
|
||||
|
||||
Reference in New Issue
Block a user