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