windows.bazelrc 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. startup --host_jvm_args=-Dbazel.DigestFunction=SHA256
  2. build --remote_cache=grpcs://remotebuildexecution.googleapis.com
  3. build --remote_executor=grpcs://remotebuildexecution.googleapis.com
  4. build --auth_enabled=true
  5. build --host_crosstool_top=//third_party/toolchains/bazel_0.26.0_rbe_windows:toolchain
  6. build --crosstool_top=//third_party/toolchains/bazel_0.26.0_rbe_windows:toolchain
  7. build --extra_toolchains=//third_party/toolchains/bazel_0.26.0_rbe_windows:cc-toolchain-x64_windows
  8. # Use custom execution platforms defined in third_party/toolchains
  9. build --extra_execution_platforms=//third_party/toolchains:rbe_windows
  10. build --host_platform=//third_party/toolchains:rbe_windows
  11. build --platforms=//third_party/toolchains:rbe_windows
  12. build --shell_executable=C:\\tools\\msys64\\usr\\bin\\bash.exe
  13. build --python_path=C:\\Python27\\python.exe
  14. build --spawn_strategy=remote
  15. build --strategy=Javac=remote
  16. build --strategy=Closure=remote
  17. build --genrule_strategy=remote
  18. build --remote_timeout=7200 # very large value to avoid problems like https://github.com/grpc/grpc/issues/20777
  19. build --remote_instance_name=projects/grpc-testing/instances/default_instance
  20. build --verbose_failures=true
  21. build --experimental_strict_action_env=true
  22. build --action_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1
  23. # don't use port server
  24. build --define GRPC_PORT_ISOLATED_RUNTIME=1
  25. build --test_tag_filters=-no_windows
  26. build --build_tag_filters=-no_windows
  27. # without verbose gRPC logs the test outputs are not very useful
  28. test --test_env=GRPC_VERBOSITY=debug
  29. # Set flags for uploading to BES in order to view results in the Bazel Build
  30. # Results UI.
  31. build --bes_backend=grpcs://buildeventservice.googleapis.com
  32. build --bes_timeout=600s
  33. build --bes_results_url="https://source.cloud.google.com/results/invocations/"
  34. build --project_id=grpc-testing
  35. build --jobs=100
  36. # print output for tests that fail (default is "summary")
  37. build --test_output=errors