File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -9,3 +9,11 @@ common --announce_rc
99# Save downloaded repositories in a location that can be cached by CircleCI. This helps us
1010# speeding up the analysis time significantly with Bazel managed node dependencies on the CI.
1111build --repository_cache=/home/circleci/bazel_repository_cache
12+
13+ # Workaround https://github.com/bazelbuild/bazel/issues/3645. Bazel doesn't calculate the
14+ # memory ceiling correctly when running under Docker. Limit Bazel to consuming resources that
15+ # fit in CircleCI "xlarge" class. https://circleci.com/docs/2.0/configuration-reference/#resource_class
16+ # Note that we use less than the available RAM as bazel only estimates memory for actions
17+ # and we don't want to accidentally run out of memory.
18+ build --local_ram_resources=14336
19+ build --local_cpu_resources=8
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ jobs:
151151 - *yarn_install
152152 - *setup_bazel_binary
153153
154- - run : bazel build src/... --build_tag_filters=-docs-package
154+ - run : bazel build src/...
155155
156156 # --------------------------------------------------------------------------------------------
157157 # Job that runs ts-api-guardian against our API goldens in "tools/public_api_guard".
You can’t perform that action at this time.
0 commit comments