forked from SeleniumHQ/selenium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bazelrc
71 lines (46 loc) · 1.82 KB
/
.bazelrc
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
try-import .bazelrc.local
try-import .bazelrc.windows.local
# Ensure Windows support is accurate.
startup --windows_enable_symlinks
build --enable_runfiles
build --flag_alias=pin_browsers=//common:pin_browsers
build --flag_alias=headless=//common:headless
# Set the default java toolchain
build --java_runtime_version=remotejdk_11
build --tool_java_language_version=11
# We target java 8 by default
build --javacopt="--release 8"
# Require java dependencies to be used and first-order
build --experimental_strict_java_deps=strict
build --explicit_java_test_deps
# Ensure builds are unpolluted by the user env
build --incompatible_strict_action_env
# Except for the PATH environment variable
build --action_env=PATH
# For build stamping
build --enable_platform_specific_config
build:linux --workspace_status_command=scripts/build-info.sh
build:macos --workspace_status_command=scripts/build-info.sh
build:windows --workspace_status_command="powershell.exe scripts/build-info.ps1"
# Make sure we get something helpful when tests fail
build --verbose_failures
build --test_output=errors
# pass environment variables to the test environment
build --test_env=CI
build --test_env=DASHBOARD_URL
build --test_env=DISPLAY
build --test_env=FIREFOX_NIGHTLY_BINARY
build --test_env=GITHUB_ACTIONS
build --test_env=LOCALAPPDATA
build --test_env=MOZ_HEADLESS
build --test_env=PATH # Remove once browser pinning works
build --test_env=SELENIUM_BROWSER
build --test_env=TRAVIS
build --test_env=PYTHON_VERSION
# Remove once rules_ruby support proper $LOAD_PATH expansion.
build --test_env=RUBYOPT="-Irb/lib -w"
# JRuby/TruffleRuby: https://github.com/jruby/jruby/issues/5661
build --action_env=HOME
test --test_env=HOME
test --test_timeout=1800
test:node_debug --test_output=streamed --test_strategy=exclusive --test_timeout=9999 --nocache_test_results