blob: 407b00568a3143de01dbfc591f844d1d3c655ba4 [file] [log] [blame]
David Ostrovsky2b5fe092021-03-03 11:52:30 +01001build --workspace_status_command="python3 ./tools/workspace_status.py"
David Ostrovsky2bf355d2018-05-30 08:58:22 +02002build --repository_cache=~/.gerritcodereview/bazel-cache/repository
Wyatt Allen370962b2018-06-08 15:45:02 -07003build --action_env=PATH
Han-Wen Nienhuys9c15e2b2019-05-16 16:59:33 +02004build --disk_cache=~/.gerritcodereview/bazel-cache/cas
David Ostrovsky21a891c2020-12-19 12:57:06 +01005
6# Builds using remotejdk_11, executes using remotejdk_11 or local_jdk
7build --java_language_version=11
8build --java_runtime_version=remotejdk_11
9build --tool_java_language_version=11
10build --tool_java_runtime_version=remotejdk_11
11
12# Builds using remotejdk_17, executes using remotejdk_17 or local_jdk
13build:java17 --java_language_version=17
14build:java17 --java_runtime_version=remotejdk_17
15build:java17 --tool_java_language_version=17
16build:java17 --tool_java_runtime_version=remotejdk_17
17
18# Builds and executes on RBE using remotejdk_11
19build:remote --java_language_version=11
20build:remote --java_runtime_version=remotejdk_11
21build:remote --tool_java_language_version=11
22build:remote --tool_java_runtime_version=remotejdk_11
23
24# Builds and executes on RBE using remotejdk_17
25build:remote17 --java_language_version=17
26build:remote17 --java_runtime_version=remotejdk_17
27build:remote17 --tool_java_language_version=17
28build:remote17 --tool_java_runtime_version=remotejdk_17
Han-Wen Nienhuys9c15e2b2019-05-16 16:59:33 +020029
Gert van Dijka5c54892019-09-19 11:57:16 +020030# Enable strict_action_env flag to. For more information on this feature see
31# https://groups.google.com/forum/#!topic/bazel-discuss/_VmRfMyyHBk.
32# This will be the new default behavior at some point (and the flag was flipped
33# shortly in 0.21.0 - https://github.com/bazelbuild/bazel/issues/7026). Remove
34# this flag here once flipped in Bazel again.
35build --incompatible_strict_action_env
36
David Ostrovsky2a3b2822021-02-19 12:58:35 +010037build --announce_rc
38
Thomas Draebing3ccc4cf2019-05-20 15:11:07 +020039test --build_tests_only
Chris Poucet55cbccb2021-11-16 03:17:06 +010040test --test_output=all
Thomas Draebing3ccc4cf2019-05-20 15:11:07 +020041
David Ostrovskyadb2f752019-10-10 03:47:27 +020042import %workspace%/tools/remote-bazelrc