build:
  template_file: darwin-opt-base.tyml
  dependencies:
    - "swig-darwin-amd64"
    - "node-gyp-cache"
    - "homebrew_builds-darwin-amd64"
    - "pyenv-darwin-amd64"
    - "tf_ios-x86_64-opt"
  routes:
    - "index.project.deepspeech.deepspeech.native_client.${event.head.branchortag}.ios_x86_64-tflite"
    - "index.project.deepspeech.deepspeech.native_client.${event.head.branchortag}.${event.head.sha}.ios_x86_64-tflite"
    - "index.project.deepspeech.deepspeech.native_client.ios_x86_64-tflite.${event.head.sha}"
  tensorflow: ${system.tensorflow.ios_x86_64.url}
  scripts:
    build: "taskcluster/ios-build.sh --x86_64"
    package: "taskcluster/ios-package.sh --x86_64"
  nc_asset_name: "native_client.x86_64.tflite.ios.tar.xz"
  maxRunTime: 14400
  metadata:
    name: "DeepSpeech iOS x86_64 TFLite"
    description: "Building DeepSpeech for iOS x86_64, TFLite, optimized version"
