David Ostrovsky | 2b5fe09 | 2021-03-03 11:52:30 +0100 | [diff] [blame] | 1 | build --workspace_status_command="python3 ./tools/workspace_status.py" |
David Ostrovsky | 2bf355d | 2018-05-30 08:58:22 +0200 | [diff] [blame] | 2 | build --repository_cache=~/.gerritcodereview/bazel-cache/repository |
Wyatt Allen | 370962b | 2018-06-08 15:45:02 -0700 | [diff] [blame] | 3 | build --action_env=PATH |
Han-Wen Nienhuys | 9c15e2b | 2019-05-16 16:59:33 +0200 | [diff] [blame] | 4 | build --disk_cache=~/.gerritcodereview/bazel-cache/cas |
David Ostrovsky | b89332d | 2020-04-27 07:06:24 +0200 | [diff] [blame] | 5 | build --java_toolchain=//tools:error_prone_warnings_toolchain_java11 |
Han-Wen Nienhuys | 9c15e2b | 2019-05-16 16:59:33 +0200 | [diff] [blame] | 6 | |
Gert van Dijk | a5c5489 | 2019-09-19 11:57:16 +0200 | [diff] [blame] | 7 | # Enable strict_action_env flag to. For more information on this feature see |
| 8 | # https://groups.google.com/forum/#!topic/bazel-discuss/_VmRfMyyHBk. |
| 9 | # This will be the new default behavior at some point (and the flag was flipped |
| 10 | # shortly in 0.21.0 - https://github.com/bazelbuild/bazel/issues/7026). Remove |
| 11 | # this flag here once flipped in Bazel again. |
| 12 | build --incompatible_strict_action_env |
| 13 | |
David Ostrovsky | 2a3b282 | 2021-02-19 12:58:35 +0100 | [diff] [blame] | 14 | build --announce_rc |
| 15 | |
David Ostrovsky | bd296eb | 2021-04-14 15:54:59 +0200 | [diff] [blame] | 16 | # Workaround Bazel worker crash (remove after upgrading to 4.1.0) |
| 17 | # https://github.com/bazelbuild/bazel/issues/13333 |
| 18 | build --experimental_worker_multiplex=false |
| 19 | |
Thomas Draebing | 3ccc4cf | 2019-05-20 15:11:07 +0200 | [diff] [blame] | 20 | test --build_tests_only |
| 21 | test --test_output=errors |
Luca Milanesio | 980a8f0 | 2020-10-06 13:44:22 +0100 | [diff] [blame] | 22 | test --java_toolchain=//tools:error_prone_warnings_toolchain_java11 |
Thomas Draebing | 3ccc4cf | 2019-05-20 15:11:07 +0200 | [diff] [blame] | 23 | |
David Ostrovsky | adb2f75 | 2019-10-10 03:47:27 +0200 | [diff] [blame] | 24 | import %workspace%/tools/remote-bazelrc |