2019-07-25 10:47:02 -04:00
|
|
|
# These options are enabled when running on CI
|
|
|
|
# We do this by copying this file to $env:ProgramData\bazel.bazelrc at the start of the build.
|
|
|
|
# See documentation in /docs/BAZEL.md
|
|
|
|
|
|
|
|
# Import config items common to both Linux and Windows setups.
|
|
|
|
# https://docs.bazel.build/versions/master/guide.html#bazelrc-syntax-and-semantics
|
2020-01-17 11:03:07 -05:00
|
|
|
try-import %workspace%/.circleci/bazel.common.rc
|
2019-07-25 10:47:02 -04:00
|
|
|
|
|
|
|
# Save downloaded repositories in a location that can be cached by CircleCI. This helps us
|
|
|
|
# speeding up the analysis time significantly with Bazel managed node dependencies on the CI.
|
|
|
|
build --repository_cache=C:/Users/circleci/bazel_repository_cache
|
2019-10-21 11:31:41 -04:00
|
|
|
|
2020-04-06 15:15:05 -04:00
|
|
|
# Manually set the local resources used in windows CI runs
|
2020-10-05 18:46:36 -04:00
|
|
|
build --local_ram_resources=120000
|
|
|
|
build --local_cpu_resources=32
|
2020-04-06 15:15:05 -04:00
|
|
|
|
2019-10-21 11:31:41 -04:00
|
|
|
# All windows jobs run on master and should use http caching
|
2019-11-21 14:42:07 -05:00
|
|
|
build --remote_http_cache=https://storage.googleapis.com/angular-team-cache
|
|
|
|
build --remote_accept_cached=true
|
|
|
|
build --remote_upload_local_results=true
|
|
|
|
build --google_default_credentials
|