Skip to content

Commit 4cf8325

Browse files
committed
build: verify docs content package can be built
1 parent 23b1f28 commit 4cf8325

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.circleci/bazel.rc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff 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.
1111
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

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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".

0 commit comments

Comments
 (0)