Skip to content

Commit

Permalink
[ISSUE #9102] Fix bazel ci
Browse files Browse the repository at this point in the history
  • Loading branch information
qianye1001 committed Jan 16, 2025
1 parent 67e13da commit d2156e3
Showing 1 changed file with 5 additions and 19 deletions.
24 changes: 5 additions & 19 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -18,29 +18,15 @@ startup --host_jvm_args=-Xmx2g

run --color=yes

build --java_runtime_version=1.8
build --java_language_version=1.8
test --java_runtime_version=1.8
test --java_language_version=1.8

build --color=yes
build --enable_platform_specific_config
build --jvmopt='--add-opens=java.base/java.lang.reflect=ALL-UNNAMED'
test --jvmopt='--add-opens=java.base/java.lang.reflect=ALL-UNNAMED'
test --action_env=TEST_TMPDIR=/tmp

test --test_arg=--add-opens=java.base/java.lang=ALL-UNNAMED
test --test_arg=--add-opens=java.base/java.io=ALL-UNNAMED
test --test_arg=--add-opens=java.base/java.util=ALL-UNNAMED
test --test_arg=--add-opens=java.base/java.util.concurrent=ALL-UNNAMED
test --test_arg=--add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED
test --test_arg=--add-opens=java.base/java.math=ALL-UNNAMED
test --test_arg=--add-opens=java.base/java.net=ALL-UNNAMED
test --test_arg=--add-opens=java.base/java.text=ALL-UNNAMED
test --test_arg=--add-opens=java.sql/java.sql=ALL-UNNAMED
test --test_arg=--add-opens=java.base/java.time=ALL-UNNAMED
test --test_arg=--add-opens=java.base/java.nio=ALL-UNNAMED
test --test_arg=--add-opens=java.base/sun.nio.ch=ALL-UNNAMED
test --test_arg=--add-opens=java.base/sun.security.util=ALL-UNNAMED
test --test_arg=--add-opens=java.base/sun.security.x509=ALL-UNNAMED



test --experimental_strict_java_deps=warn
test --experimental_ui_max_stdouterr_bytes=10485760
build --experimental_strict_java_deps=warn
Expand Down

0 comments on commit d2156e3

Please sign in to comment.