11 lines
518 B
PowerShell
11 lines
518 B
PowerShell
git clone https://github.com/google/llvm-premerge-checks.git c:\llvm-premerge-checks
|
|
New-Item c:\ws -Force -ItemType Directory
|
|
$env:BUILDKITE_BUILD_PATH = "c:\ws"
|
|
|
|
# Install Buildkite agent.
|
|
iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/buildkite/agent/master/install.ps1'))
|
|
$env:SCCACHE_DIR="C:\ws\sccache"
|
|
$env:SCCACHE_IDLE_TIMEOUT="0"
|
|
Remove-Item -Recurse -Force -ErrorAction Ignore $env:SCCACHE_DIR
|
|
sccache --start-server
|
|
C:\buildkite-agent\bin\buildkite-agent.exe start
|