build:
  template_file: test-android-opt-base.tyml
  dependencies:
    - "android-x86_64-cpu-opt"
    - "test-training_16k-linux-amd64-py36m-opt"
    - "swig-linux-amd64"
    - "gradle-cache"
    - "android-cache-x86_64-android-26"
  test_model_task: "test-training_16k-linux-amd64-py36m-opt"
  system_setup:
    >
      apt-get -qq -y install curl make python
  cache:
    url: ${system.android_cache.x86_64.android_26.url}
    namespace: ${system.android_cache.x86_64.android_26.namespace}
  gradle_cache:
    url: ${system.gradle_cache.url}
    namespace: ${system.gradle_cache.namespace}
  args:
    tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-android-apk-tests.sh x86_64 android-26"
  workerType: "${docker.dsHighMemTests}"
  metadata:
    name: "DeepSpeech Android 8.0 x86_64 Google Pixel APK/Java tests"
    description: "Testing DeepSpeech APK/Java for Android 8.0 x86_64 Google Pixel, optimized version"
