Skip to content

Instantly share code, notes, and snippets.

@buchgr
Created September 2, 2019 11:15
Show Gist options
  • Save buchgr/48bf323305ff8262c87358d6c3e71a05 to your computer and use it in GitHub Desktop.
Save buchgr/48bf323305ff8262c87358d6c3e71a05 to your computer and use it in GitHub Desktop.
---
platforms:
windows:
batch_commands:
- powershell -Command "(Get-Content WORKSPACE) -Replace '# android_', 'android_' | Set-Content WORKSPACE"
build_flags:
- "--copt=-w"
- "--host_copt=-w"
# Remove when https://github.com/bazelbuild/bazel/issues/7026 is fixed.
- "--noincompatible_strict_action_env"
- "--experimental_inmemory_jdeps_files"
- "--experimental_inmemory_dotd_files"
- "--experimental_remote_download_outputs=minimal"
build_targets:
- "//src:bazel"
- "//src:bazel_jdk_minimal"
test_flags:
- "--copt=-w"
- "--host_copt=-w"
- "--test_env=JAVA_HOME"
- "--test_timeout=1200"
# Remove when https://github.com/bazelbuild/bazel/issues/7026 is fixed.
- "--noincompatible_strict_action_env"
- "--experimental_inmemory_jdeps_files"
- "--experimental_inmemory_dotd_files"
- "--experimental_remote_download_outputs=minimal"
test_targets:
- "--"
- "//src:all_windows_tests"
# TODO(katre): Re-enable after 0.29.0: https://github.com/bazelbuild/bazel/issues/9148
- "-//src/tools/singlejar:combiners_test"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment