Build Tensorflow's Android example for postsubmit (#247)
This gives us a build_test that utilizes much of the NDK. Successfully built on test machine with the latest deployed image and Bazel 0.12.0rc1.
diff --git a/buildkite/pipelines/tensorflow-postsubmit.yml b/buildkite/pipelines/tensorflow-postsubmit.yml
index 4635189..c052899 100644
--- a/buildkite/pipelines/tensorflow-postsubmit.yml
+++ b/buildkite/pipelines/tensorflow-postsubmit.yml
@@ -5,16 +5,27 @@
- |-
echo -e '
import %workspace%/.bazelrc' >>bazel.bazelrc
+ - |-
+ echo -e '
+ android_sdk_repository(name = "androidsdk")
+ android_ndk_repository(name = "androidndk")' >>WORKSPACE
- touch .bazelrc
- "./tensorflow/tools/ci_build/builds/configured CPU"
build_targets:
- "//tensorflow/tools/pip_package:build_pip_package"
+ - "//tensorflow/examples/android:tensorflow_demo"
ubuntu1604:
shell_commands:
- |-
echo -e '
import %workspace%/.bazelrc' >>bazel.bazelrc
+ - |-
+ echo -e '
+ android_sdk_repository(name = "androidsdk")
+ android_ndk_repository(name = "androidndk")' >>WORKSPACE
- touch .bazelrc
- "./tensorflow/tools/ci_build/builds/configured CPU"
build_targets:
- "//tensorflow/tools/pip_package:build_pip_package"
+ - "//tensorflow/examples/android:tensorflow_demo"
+