2020-05-26 12:53:19 +02:00
|
|
|
c:\credentials\buildkite-env.ps1
|
2021-06-01 15:26:00 +02:00
|
|
|
git clone https://github.com/google/llvm-premerge-checks.git c:\llvm-premerge-checks
|
2020-05-26 12:53:19 +02:00
|
|
|
# Install Buildkite agent.
|
|
|
|
iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/buildkite/agent/master/install.ps1'))
|
2020-06-03 13:40:22 +02:00
|
|
|
$env:SCCACHE_DIR="C:\ws\sccache"
|
2020-06-04 12:36:46 +02:00
|
|
|
$env:SCCACHE_IDLE_TIMEOUT="0"
|
2020-06-03 13:40:22 +02:00
|
|
|
Remove-Item -Recurse -Force -ErrorAction Ignore $env:SCCACHE_DIR
|
|
|
|
sccache --start-server
|
|
|
|
|
|
|
|
C:\buildkite-agent\bin\buildkite-agent.exe start
|