STT/taskcluster/linux-amd64-tflite-opt.yml

26 lines
1.0 KiB
YAML

build:
template_file: linux-opt-base.tyml
dependencies:
- "swig-linux-amd64"
- "node-gyp-cache"
- "pyenv-linux-amd64"
- "tf_linux-amd64-cpu-opt"
routes:
- "index.project.deepspeech.deepspeech.native_client.${event.head.branchortag}.tflite"
- "index.project.deepspeech.deepspeech.native_client.${event.head.branchortag}.${event.head.sha}.tflite"
- "index.project.deepspeech.deepspeech.native_client.tflite.${event.head.sha}"
system_setup:
>
${nodejs.packages_xenial.prep_12} && ${nodejs.packages_xenial.apt_pinning}
&& apt-get -qq update && apt-get -qq -y install nodejs python-yaml
tensorflow: ${system.tensorflow.linux_amd64_cpu.url}
scripts:
setup: "taskcluster/tc-true.sh"
build: "taskcluster/host-build.sh tflite"
package: "taskcluster/package.sh"
nc_asset_name: "native_client.amd64.tflite.linux.tar.xz"
workerType: "${docker.dsBuild}"
metadata:
name: "DeepSpeech Linux AMD64 TFLite"
description: "Building DeepSpeech for Linux/AMD64, TFLite, optimized version"