File tree 2 files changed +9
-1
lines changed
2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -9,3 +9,11 @@ common --announce_rc
9
9
# Save downloaded repositories in a location that can be cached by CircleCI. This helps us
10
10
# speeding up the analysis time significantly with Bazel managed node dependencies on the CI.
11
11
build --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:
151
151
- *yarn_install
152
152
- *setup_bazel_binary
153
153
154
- - run : bazel build src/... --build_tag_filters=-docs-package
154
+ - run : bazel build src/...
155
155
156
156
# --------------------------------------------------------------------------------------------
157
157
# 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