diff --git a/.circleci/bazel.common.rc b/.circleci/bazel.common.rc index 6de5ad3021..09b45f2ae8 100644 --- a/.circleci/bazel.common.rc +++ b/.circleci/bazel.common.rc @@ -14,13 +14,7 @@ test --flaky_test_attempts=2 # More details on failures build --verbose_failures=true -# We have seen some flakiness in using TS workers on CircleCI -# https://angular-team.slack.com/archives/C07DT5M6V/p1562693245183400 -# > failures like `ERROR: /home/circleci/ng/packages/core/test/BUILD.bazel:5:1: -# > Compiling TypeScript (devmode) //packages/core/test:test_lib failed: Worker process did not return a WorkResponse:` -# > I saw that issue a couple times today. -# > Example job: https://circleci.com/gh/angular/angular/385517 -# We expect that TypeScript compilations will parallelize wider than the number of local cores anyway -# so we should saturate remote workers with TS compilations -build --strategy=AngularTemplateCompile=local -build --strategy=TypeScriptCompile=local +# Utilize remote strategy for AngularTemplateCompile and TypeScriptCompile to take +# advantage of caching of outputs +build --strategy=AngularTemplateCompile=remote +build --strategy=TypeScriptCompile=remote diff --git a/modules/playground/src/relative_assets/BUILD.bazel b/modules/playground/src/relative_assets/BUILD.bazel index b72a4e3f65..3bf9f769dd 100644 --- a/modules/playground/src/relative_assets/BUILD.bazel +++ b/modules/playground/src/relative_assets/BUILD.bazel @@ -6,6 +6,10 @@ package(default_visibility = ["//modules/playground:__subpackages__"]) ng_module( name = "relative_assets", srcs = glob(["**/*.ts"]), + assets = [ + "app/style.css", + "app/tpl.html", + ], # This example demonstrates how external resources can be loaded relatively, so we # need to disable resource inlining. inline_resources = False,