summaryrefslogtreecommitdiff
path: root/grpc/tools/remote_build/mac.bazelrc
blob: 4ff71d8049b2a722ba4c9552cf4cc989a1de336f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Configuration for mac bazel test runs on CI
# Bazel RBE doesn't currently support MacOS platform,
# so we configure tests to build and run locally,
# but try to use RBE build cache and upload results
# to ResultStore

startup --host_jvm_args=-Dbazel.DigestFunction=SHA256

# remote cache is needed not only for build speedup,
# but also for the test logs to be available in ResultStore
# for now, don't upload results to cache, only the test logs.
# TODO(jtattermusch): setup a "cache-silo-key" before enabling uploads to build cache
build --remote_cache=grpcs://remotebuildexecution.googleapis.com
build --remote_instance_name=projects/grpc-testing/instances/default_instance
build --remote_upload_local_results=false

build --auth_enabled=true

build --verbose_failures=true

build --test_tag_filters=-no_mac
build --build_tag_filters=-no_mac

# without verbose gRPC logs the test outputs are not very useful
test --test_env=GRPC_VERBOSITY=debug

# Set flags for uploading to BES in order to view results in the Bazel Build
# Results UI.
build --bes_backend=grpcs://buildeventservice.googleapis.com
build --bes_timeout=600s
build --bes_results_url="https://source.cloud.google.com/results/invocations/"
build --project_id=grpc-testing

# print output for tests that fail (default is "summary")
build --test_output=errors

# Enable strict warnings to keep it warning-free.
build --define=use_strict_warning=true