2023-08-28 19:32:20 +02:00
|
|
|
# TODO: remove after migrating scripts to LLVM repo.
|
2023-02-08 20:00:29 +01:00
|
|
|
git clone https://github.com/google/llvm-premerge-checks.git c:\llvm-premerge-checks
|
2023-08-28 19:32:20 +02:00
|
|
|
$env:BUILDKITE_BUILD_CHECKOUT_PATH = "$env:BUILDKITE_BUILD_PATH\src"
|
2023-02-08 20:00:29 +01:00
|
|
|
|
|
|
|
# Install Buildkite agent.
|
|
|
|
iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/buildkite/agent/master/install.ps1'))
|
2023-08-28 19:32:20 +02:00
|
|
|
$env:SCCACHE_DIR="$env:BUILDKITE_BUILD_PATH\sccache"
|
2023-02-08 20:00:29 +01:00
|
|
|
$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
|