1
0
Fork 0

Script updates:

- option not to shut down sccache after 10 minutes
- zero sccache stats before running the build
- decrease number of jenkins agents
This commit is contained in:
Mikhail Goncharov 2020-06-04 12:36:46 +02:00
parent 3170572590
commit e08efbcf2a
4 changed files with 4 additions and 3 deletions

View file

@ -3,6 +3,7 @@ c:\credentials\buildkite-env.ps1
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

View file

@ -154,7 +154,7 @@ metadata:
name: agent-debian-testing-ssd
namespace: jenkins
spec:
replicas: 4
replicas: 2
template:
metadata:
labels:

View file

@ -42,7 +42,7 @@ if __name__ == '__main__':
'label': ':windows: build and test windows',
'key': 'windows',
'commands': [
'sccache --show-stats',
'sccache --zero-stats',
'set SRC=%BUILDKITE_BUILD_PATH%/llvm-premerge-checks',
'rm -rf %SRC%',
'git clone --depth 1 --branch %scripts_branch% https://github.com/google/llvm-premerge-checks.git %SRC%',

View file

@ -37,7 +37,7 @@ if __name__ == '__main__':
'label': ':windows: build and test windows',
'key': 'windows',
'commands': [
'sccache --show-stats',
'sccache --zero-stats',
'set SRC=%BUILDKITE_BUILD_PATH%/llvm-premerge-checks',
'rm -rf %SRC%',
'git clone --depth 1 --branch %scripts_branch% https://github.com/google/llvm-premerge-checks.git %SRC%',