| --- |
| 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=1200" |
| test_targets: |
| - "--" |
| - "//scripts/..." |
| - "//src/test/..." |
| - "//third_party/ijar/..." |
| - "//tools/android/..." |
| # Re-enable once fixed: https://github.com/bazelbuild/bazel/issues/5888 |
| - "-//src/test/java/com/google/devtools/build/android/ziputils:ziputils-tests" |
| 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=1200" |
| test_targets: |
| - "--" |
| - "//scripts/..." |
| - "//src/test/..." |
| - "//third_party/ijar/..." |
| - "//tools/android/..." |
| # Re-enable once fixed: https://github.com/bazelbuild/bazel/issues/5888 |
| - "-//src/test/java/com/google/devtools/build/android/ziputils:ziputils-tests" |
| ubuntu1804: |
| 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=1200" |
| test_targets: |
| - "--" |
| - "//scripts/..." |
| - "//src/test/..." |
| - "//third_party/ijar/..." |
| - "//tools/android/..." |
| # Re-enable once fixed: https://github.com/bazelbuild/bazel/issues/5888 |
| - "-//src/test/java/com/google/devtools/build/android/ziputils:ziputils-tests" |
| ubuntu1804_nojava: |
| build_targets: |
| - "//examples/cpp:all" |
| test_flags: |
| - "--test_timeout=1200" |
| test_targets: |
| - "--" |
| - "//scripts/..." |
| - "//src/test/..." |
| - "//third_party/ijar/..." |
| # We can't run Android tests without an installed Android SDK / NDK. |
| - "-//src/test/java/com/google/devtools/build/android/..." |
| ubuntu1804_java9: |
| 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=1200" |
| test_targets: |
| - "--" |
| - "//scripts/..." |
| - "//src/test/..." |
| - "//third_party/ijar/..." |
| - "//tools/android/..." |
| # Re-enable once fixed: https://github.com/bazelbuild/bazel/issues/5888 |
| - "-//src/test/java/com/google/devtools/build/android/ziputils:ziputils-tests" |
| ubuntu1804_java10: |
| 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=1200" |
| test_targets: |
| - "--" |
| - "//scripts/..." |
| - "//src/test/..." |
| - "//third_party/ijar/..." |
| - "//tools/android/..." |
| # Re-enable once fixed: https://github.com/bazelbuild/bazel/issues/5888 |
| - "-//src/test/java/com/google/devtools/build/android/ziputils:ziputils-tests" |
| 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=1200" |
| test_targets: |
| - "--" |
| - "//scripts/..." |
| - "//src/test/..." |
| - "//third_party/ijar/..." |
| - "//tools/android/..." |
| # Re-enable once fixed: https://github.com/bazelbuild/bazel/issues/5888 |
| - "-//src/test/java/com/google/devtools/build/android/ziputils:ziputils-tests" |
| 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=1200" |
| test_targets: |
| - "--" |
| - "//src:all_windows_tests" |
| # Re-enable once fixed: https://github.com/bazelbuild/bazel/issues/5888 |
| - "-//src/test/java/com/google/devtools/build/android/ziputils:ziputils-tests" |
| rbe_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" |