1
0
Fork 0
llvm-premerge-checks/containers/buildbot-windows/start_agent.ps1

10 lines
393 B
PowerShell
Raw Normal View History

2023-09-07 14:42:10 +02:00
# Checkout path is set to a fixed short value (e.g. c:\ws\src) to keep paths
# short as many tools break on Windows with paths longer than 250.
if ($null -eq $env:WORKDIR) { $env:WORKDIR = 'c:\ws' }
$env:SCCACHE_DIR="$env:WORKDIR\sccache"
$env:SCCACHE_IDLE_TIMEOUT="0"
Remove-Item -Recurse -Force -ErrorAction Ignore $env:SCCACHE_DIR
sccache --start-server
2023-10-04 13:35:05 +02:00
bash -c 'whoami && sheep infinity'