blob: eca490cdc92c1965744cef60de3746d50f0e5b90 [file] [log] [blame]
---
platforms:
ubuntu1404:
shell_commands:
- sed -i.bak -e 's/^# android_sdk_repository/android_sdk_repository/' -e 's/^#
android_ndk_repository/android_ndk_repository/' WORKSPACE
- rm -f WORKSPACE.bak
build_targets:
- "//src:bazel"
test_flags:
- "--test_timeout=900"
test_targets:
- "--"
- "//scripts/..."
- "//src/test/..."
- "//third_party/ijar/..."
- "//tools/android/..."
# Re-enable once fixed: https://github.com/bazelbuild/bazel/issues/4663
- "-//src/test/shell/bazel/android:android_ndk_integration_test"
ubuntu1604:
shell_commands:
- sed -i.bak -e 's/^# android_sdk_repository/android_sdk_repository/' -e 's/^#
android_ndk_repository/android_ndk_repository/' WORKSPACE
- rm -f WORKSPACE.bak
build_targets:
- "//src:bazel"
test_flags:
- "--test_timeout=900"
test_targets:
- "--"
- "//scripts/..."
- "//src/test/..."
- "//third_party/ijar/..."
- "//tools/android/..."
# Re-enable once fixed: https://github.com/bazelbuild/bazel/issues/4663
- "-//src/test/shell/bazel/android:android_ndk_integration_test"
macos:
shell_commands:
- sed -i.bak -e 's/^# android_sdk_repository/android_sdk_repository/' -e 's/^#
android_ndk_repository/android_ndk_repository/' WORKSPACE
- rm -f WORKSPACE.bak
build_targets:
- "//src:bazel"
test_flags:
- "--test_timeout=900"
test_targets:
- "--"
- "//scripts/..."
- "//src/test/..."
- "//third_party/ijar/..."
- "//tools/android/..."
# Re-enable once fixed: https://github.com/bazelbuild/bazel/issues/4663
- "-//src/test/shell/bazel/android:android_ndk_integration_test"
# The below tests have been disabled because they are too slow on macOS.
# Re-enable once fixed: https://github.com/bazelbuild/bazel/issues/4684
- "-//src/test/shell/bazel:bazel_determinism_test"
- "-//src/test/shell/bazel:bazel_java_test"
- "-//src/test/shell/bazel:bazel_bootstrap_distfile_test"
- "-//src/test/shell/bazel/remote:remote_execution_test"
- "-//src/test/shell/bazel/remote:remote_execution_http_test"
- "-//src/test/shell/bazel:skylark_git_repository_test"
- "-//src/test/shell/bazel:external_path_test"
- "-//src/test/py/bazel:runfiles_test"
- "-//src/test/shell/bazel:git_repository_test"
- "-//src/test/shell/bazel/android:aar_integration_test"
- "-//src/test/shell/bazel/android:android_integration_test"
windows:
build_flags:
- "--copt=-w"
- "--host_copt=-w"
build_targets:
- "//src:bazel"
test_flags:
- "--copt=-w"
- "--host_copt=-w"
- "--test_env=TEMP"
- "--test_env=JAVA_HOME"
- "--test_timeout=900"
test_targets:
- "//src:all_windows_tests"