Skip to content

Commit d825bf0

Browse files
drigzjohanbrandhorst
authored andcommitted
Limit Bazel memory usage in CI.
This aims to reduce/eliminate the CircleCI flakes described in #968. It's based on the approach in https://github.com/angular/angular-cli/blob/master/.circleci/bazel.rc
1 parent 402a3ff commit d825bf0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.circleci/config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ jobs:
6969
startup --output_base $HOME/.cache/_grpc_gateway_bazel
7070
build --test_output errors
7171
build --features race
72+
# Workaround https://github.com/bazelbuild/bazel/issues/3645
73+
build --local_resources=3072,2.0,1.0
7274
EOF
7375
- run:
7476
name: Check that Bazel BUILD files are up-to-date

0 commit comments

Comments
 (0)