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"
    - "index.project.deepspeech.deepspeech.native_client.${event.head.branchortag}.${event.head.sha}.osx"
    - "index.project.deepspeech.deepspeech.native_client.osx.${event.head.sha}"
  tensorflow: ${system.tensorflow.darwin_amd64.url}
  scripts:
    build: "taskcluster/host-build.sh"
    package: "taskcluster/package.sh"
  nc_asset_name: "native_client.amd64.cpu.osx.tar.xz"
  maxRunTime: 14400
  metadata:
    name: "DeepSpeech OSX AMD64 CPU"
    description: "Building DeepSpeech for OSX AMD64, CPU only, optimized version"
