| 1 |
# Configuration for mac bazel test runs on CI |
| 2 |
# Bazel RBE doesn't currently support MacOS platform, |
| 3 |
# so we configure actions to execute locally, |
| 4 |
# but we still use RBE for build cache and to upload |
| 5 |
# results to ResultStore. |
| 6 |
|
| 7 |
import %workspace%/tools/remote_build/include/rbe_base_config.bazelrc |
| 8 |
|
| 9 |
# Disable uploading to build cache by default. This is to prevent |
| 10 |
# polluting the build cache with locally-started builds. |
| 11 |
# When running on CI, we will override this setting along |
| 12 |
# with cache silo keys that prevent the build from being broken |
| 13 |
# by unintentional cache hits. |
| 14 |
build --remote_upload_local_results=false |
| 15 |
|
| 16 |
build --test_tag_filters=-no_mac |
| 17 |
build --build_tag_filters=-no_mac |
| 18 |
|
| 19 |
# Enable strict warnings to keep it warning-free. |
| 20 |
# TODO(jtattermusch): this option is only used on mac. Is it actually useful? |
| 21 |
build --define=use_strict_warning=true |
| 22 |
|
| 23 |
# Dynamic link cause issues like: `dyld: malformed mach-o: load commands size (59272) > 32768` |
| 24 |
# https://github.com/bazelbuild/bazel/issues/9190 |
| 25 |
build --dynamic_mode=off |
| 26 |
|
| 27 |
import %workspace%/tools/remote_build/include/test_config_common.bazelrc |