Add DeepSpeech iOS tasks
This commit is contained in:
parent
3ce07afae0
commit
c85f95f781
21
taskcluster/ios-arm64-tflite-opt.yml
Normal file
21
taskcluster/ios-arm64-tflite-opt.yml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
build:
|
||||||
|
template_file: darwin-opt-base.tyml
|
||||||
|
dependencies:
|
||||||
|
- "swig-darwin-amd64"
|
||||||
|
- "node-gyp-cache"
|
||||||
|
- "homebrew_builds-darwin-amd64"
|
||||||
|
- "pyenv-darwin-amd64"
|
||||||
|
- "tf_ios-arm64-opt"
|
||||||
|
routes:
|
||||||
|
- "index.project.deepspeech.deepspeech.native_client.${event.head.branchortag}.ios_arm64-tflite"
|
||||||
|
- "index.project.deepspeech.deepspeech.native_client.${event.head.branchortag}.${event.head.sha}.ios_arm64-tflite"
|
||||||
|
- "index.project.deepspeech.deepspeech.native_client.ios_arm64-tflite.${event.head.sha}"
|
||||||
|
tensorflow: ${system.tensorflow.ios_arm64.url}
|
||||||
|
scripts:
|
||||||
|
build: "taskcluster/ios-build.sh"
|
||||||
|
package: "taskcluster/package.sh"
|
||||||
|
nc_asset_name: "native_client.arm64.tflite.ios.tar.xz"
|
||||||
|
maxRunTime: 14400
|
||||||
|
metadata:
|
||||||
|
name: "DeepSpeech iOS ARM64 TFLite"
|
||||||
|
description: "Building DeepSpeech for iOS ARM64, TFLite, optimized version"
|
17
taskcluster/ios-build.sh
Executable file
17
taskcluster/ios-build.sh
Executable file
@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -xe
|
||||||
|
|
||||||
|
source $(dirname "$0")/tc-tests-utils.sh
|
||||||
|
|
||||||
|
source ${DS_ROOT_TASK}/DeepSpeech/tf/tc-vars.sh
|
||||||
|
|
||||||
|
BAZEL_TARGETS="
|
||||||
|
//native_client:libdeepspeech.so
|
||||||
|
"
|
||||||
|
|
||||||
|
BAZEL_BUILD_FLAGS="--config=ios_arm64 --define=runtime=tflite ${BAZEL_OPT_FLAGS} ${BAZEL_EXTRA_FLAGS}"
|
||||||
|
|
||||||
|
BAZEL_ENV_FLAGS="TF_NEED_CUDA=0"
|
||||||
|
|
||||||
|
do_bazel_build
|
21
taskcluster/ios-x86_64-tflite-opt.yml
Normal file
21
taskcluster/ios-x86_64-tflite-opt.yml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
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"
|
||||||
|
package: "taskcluster/package.sh"
|
||||||
|
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"
|
Loading…
Reference in New Issue
Block a user