update for NodeJS 15
This commit is contained in:
parent
5e2a916899
commit
55e31c4025
|
@ -6,11 +6,14 @@ PROJECT_NAME ?= deepspeech
|
||||||
PROJECT_VERSION ?= $(shell cat ../../training/deepspeech_training/VERSION | tr -d '\n')
|
PROJECT_VERSION ?= $(shell cat ../../training/deepspeech_training/VERSION | tr -d '\n')
|
||||||
NPM_ROOT ?= $(shell npm root)
|
NPM_ROOT ?= $(shell npm root)
|
||||||
|
|
||||||
|
NODE_PRE_GYP_ABI_CROSSWALK_FILE ?= $(NPM_ROOT)/../abi_crosswalk_priv.json
|
||||||
|
|
||||||
NODE_MODULES_BIN ?= $(NPM_ROOT)/.bin/
|
NODE_MODULES_BIN ?= $(NPM_ROOT)/.bin/
|
||||||
ifeq ($(findstring _NT,$(OS)),_NT)
|
ifeq ($(findstring _NT,$(OS)),_NT)
|
||||||
# On Windows, we seem to need both in PATH for node-pre-gyp as well as tsc
|
# On Windows, we seem to need both in PATH for node-pre-gyp as well as tsc
|
||||||
# they do not get installed the same way.
|
# they do not get installed the same way.
|
||||||
NODE_MODULES_BIN := $(shell cygpath -u $(NPM_ROOT)/.bin/):$(shell cygpath -u `dirname "$(NPM_ROOT)"`)
|
NODE_MODULES_BIN := $(shell cygpath -u $(NPM_ROOT)/.bin/):$(shell cygpath -u `dirname "$(NPM_ROOT)"`)
|
||||||
|
NODE_PRE_GYP_ABI_CROSSWALK_FILE := $(shell cygpath -u $(NPM_ROOT)/../abi_crosswalk_priv.json)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
include ../definitions.mk
|
include ../definitions.mk
|
||||||
|
@ -47,13 +50,13 @@ configure: deepspeech_wrap.cxx package.json npm-dev
|
||||||
PATH="$(NODE_MODULES_BIN):${PATH}" $(NODE_BUILD_TOOL) configure $(NODE_BUILD_VERBOSE)
|
PATH="$(NODE_MODULES_BIN):${PATH}" $(NODE_BUILD_TOOL) configure $(NODE_BUILD_VERBOSE)
|
||||||
|
|
||||||
build: configure deepspeech_wrap.cxx
|
build: configure deepspeech_wrap.cxx
|
||||||
PATH="$(NODE_MODULES_BIN):${PATH}" AS=$(AS) CC=$(CC) CXX=$(CXX) LD=$(LD) CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(RPATH_NODEJS) $(LDFLAGS)" LIBS=$(LIBS) $(NODE_BUILD_TOOL) $(NODE_PLATFORM_TARGET) $(NODE_RUNTIME) $(NODE_ABI_TARGET) $(NODE_DEVDIR) $(NODE_DIST_URL) --no-color rebuild $(NODE_BUILD_VERBOSE)
|
PATH="$(NODE_MODULES_BIN):${PATH}" NODE_PRE_GYP_ABI_CROSSWALK=$(NODE_PRE_GYP_ABI_CROSSWALK_FILE) AS=$(AS) CC=$(CC) CXX=$(CXX) LD=$(LD) CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(RPATH_NODEJS) $(LDFLAGS)" LIBS=$(LIBS) $(NODE_BUILD_TOOL) $(NODE_PLATFORM_TARGET) $(NODE_RUNTIME) $(NODE_ABI_TARGET) $(NODE_DEVDIR) $(NODE_DIST_URL) --no-color rebuild $(NODE_BUILD_VERBOSE)
|
||||||
|
|
||||||
copy-deps: build
|
copy-deps: build
|
||||||
$(call copy_missing_libs,lib/binding/*/*/*/deepspeech.node,lib/binding/*/*/)
|
$(call copy_missing_libs,lib/binding/*/*/*/deepspeech.node,lib/binding/*/*/)
|
||||||
|
|
||||||
node-wrapper: copy-deps build
|
node-wrapper: copy-deps build
|
||||||
PATH="$(NODE_MODULES_BIN):${PATH}" $(NODE_BUILD_TOOL) $(NODE_PLATFORM_TARGET) $(NODE_RUNTIME) $(NODE_ABI_TARGET) $(NODE_DEVDIR) $(NODE_DIST_URL) --no-color package $(NODE_BUILD_VERBOSE)
|
PATH="$(NODE_MODULES_BIN):${PATH}" NODE_PRE_GYP_ABI_CROSSWALK=$(NODE_PRE_GYP_ABI_CROSSWALK_FILE) $(NODE_BUILD_TOOL) $(NODE_PLATFORM_TARGET) $(NODE_RUNTIME) $(NODE_ABI_TARGET) $(NODE_DEVDIR) $(NODE_DIST_URL) --no-color package $(NODE_BUILD_VERBOSE)
|
||||||
|
|
||||||
npm-pack: clean package.json index.ts npm-dev
|
npm-pack: clean package.json index.ts npm-dev
|
||||||
PATH="$(NODE_MODULES_BIN):${PATH}" tsc && $(NPM_TOOL) pack $(NODE_BUILD_VERBOSE)
|
PATH="$(NODE_MODULES_BIN):${PATH}" tsc && $(NPM_TOOL) pack $(NODE_BUILD_VERBOSE)
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -52,6 +52,7 @@ nodejs:
|
||||||
prep_12: 'echo "deb http://deb.nodesource.com/node_12.x xenial main" > /etc/apt/sources.list.d/nodesource.list && wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -'
|
prep_12: 'echo "deb http://deb.nodesource.com/node_12.x xenial main" > /etc/apt/sources.list.d/nodesource.list && wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -'
|
||||||
prep_13: 'echo "deb http://deb.nodesource.com/node_13.x xenial main" > /etc/apt/sources.list.d/nodesource.list && wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -'
|
prep_13: 'echo "deb http://deb.nodesource.com/node_13.x xenial main" > /etc/apt/sources.list.d/nodesource.list && wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -'
|
||||||
prep_14: 'echo "deb http://deb.nodesource.com/node_14.x xenial main" > /etc/apt/sources.list.d/nodesource.list && wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -'
|
prep_14: 'echo "deb http://deb.nodesource.com/node_14.x xenial main" > /etc/apt/sources.list.d/nodesource.list && wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -'
|
||||||
|
prep_15: 'echo "deb http://deb.nodesource.com/node_15.x xenial main" > /etc/apt/sources.list.d/nodesource.list && wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -'
|
||||||
packages_docs_bionic:
|
packages_docs_bionic:
|
||||||
apt: 'nodejs'
|
apt: 'nodejs'
|
||||||
apt_pinning: '(echo "Package: nodejs" && echo "Pin: origin deb.nodesource.com" && echo "Pin-Priority: 999") > /etc/apt/preferences'
|
apt_pinning: '(echo "Package: nodejs" && echo "Pin: origin deb.nodesource.com" && echo "Pin-Priority: 999") > /etc/apt/preferences'
|
||||||
|
@ -65,28 +66,31 @@ nodejs:
|
||||||
prep_12: 'echo "deb http://deb.nodesource.com/node_12.x buster main" > /etc/apt/sources.list.d/nodesource.list && wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -'
|
prep_12: 'echo "deb http://deb.nodesource.com/node_12.x buster main" > /etc/apt/sources.list.d/nodesource.list && wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -'
|
||||||
prep_13: 'echo "deb http://deb.nodesource.com/node_13.x buster main" > /etc/apt/sources.list.d/nodesource.list && wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -'
|
prep_13: 'echo "deb http://deb.nodesource.com/node_13.x buster main" > /etc/apt/sources.list.d/nodesource.list && wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -'
|
||||||
prep_14: 'echo "deb http://deb.nodesource.com/node_14.x buster main" > /etc/apt/sources.list.d/nodesource.list && wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -'
|
prep_14: 'echo "deb http://deb.nodesource.com/node_14.x buster main" > /etc/apt/sources.list.d/nodesource.list && wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -'
|
||||||
|
prep_15: 'echo "deb http://deb.nodesource.com/node_15.x buster main" > /etc/apt/sources.list.d/nodesource.list && wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -'
|
||||||
brew:
|
brew:
|
||||||
prep_10: 'export NVM_DIR=$TASKCLUSTER_TASK_DIR/homebrew-tests/.nvm/ && source "$TASKCLUSTER_TASK_DIR/homebrew-tests/opt/nvm/nvm.sh" && nvm use 10.20.1'
|
prep_10: 'export NVM_DIR=$TASKCLUSTER_TASK_DIR/homebrew-tests/.nvm/ && source "$TASKCLUSTER_TASK_DIR/homebrew-tests/opt/nvm/nvm.sh" && nvm use 10.20.1'
|
||||||
prep_11: 'export NVM_DIR=$TASKCLUSTER_TASK_DIR/homebrew-tests/.nvm/ && source "$TASKCLUSTER_TASK_DIR/homebrew-tests/opt/nvm/nvm.sh" && nvm use 11.15.0'
|
prep_11: 'export NVM_DIR=$TASKCLUSTER_TASK_DIR/homebrew-tests/.nvm/ && source "$TASKCLUSTER_TASK_DIR/homebrew-tests/opt/nvm/nvm.sh" && nvm use 11.15.0'
|
||||||
prep_12: 'export NVM_DIR=$TASKCLUSTER_TASK_DIR/homebrew-tests/.nvm/ && source "$TASKCLUSTER_TASK_DIR/homebrew-tests/opt/nvm/nvm.sh" && nvm use 12.17.0'
|
prep_12: 'export NVM_DIR=$TASKCLUSTER_TASK_DIR/homebrew-tests/.nvm/ && source "$TASKCLUSTER_TASK_DIR/homebrew-tests/opt/nvm/nvm.sh" && nvm use 12.17.0'
|
||||||
prep_13: 'export NVM_DIR=$TASKCLUSTER_TASK_DIR/homebrew-tests/.nvm/ && source "$TASKCLUSTER_TASK_DIR/homebrew-tests/opt/nvm/nvm.sh" && nvm use 13.14.0'
|
prep_13: 'export NVM_DIR=$TASKCLUSTER_TASK_DIR/homebrew-tests/.nvm/ && source "$TASKCLUSTER_TASK_DIR/homebrew-tests/opt/nvm/nvm.sh" && nvm use 13.14.0'
|
||||||
prep_14: 'export NVM_DIR=$TASKCLUSTER_TASK_DIR/homebrew-tests/.nvm/ && source "$TASKCLUSTER_TASK_DIR/homebrew-tests/opt/nvm/nvm.sh" && nvm use 14.3.0'
|
prep_14: 'export NVM_DIR=$TASKCLUSTER_TASK_DIR/homebrew-tests/.nvm/ && source "$TASKCLUSTER_TASK_DIR/homebrew-tests/opt/nvm/nvm.sh" && nvm use 14.3.0'
|
||||||
|
prep_15: 'export NVM_DIR=$TASKCLUSTER_TASK_DIR/homebrew-tests/.nvm/ && source "$TASKCLUSTER_TASK_DIR/homebrew-tests/opt/nvm/nvm.sh" && nvm use 15.0.0'
|
||||||
win:
|
win:
|
||||||
prep_10: '/usr/bin/wget.exe https://nodejs.org/dist/v10.20.1/node-v10.20.1-win-x64.zip && ""C:\Program Files\7-zip\7z.exe"" x -o$TASKCLUSTER_NODE_DIR -tzip -aoa node-v10.20.1-win-x64.zip && rm node-*.zip && export PATH=$TASKCLUSTER_TASK_DIR/bin/node-v10.20.1-win-x64/:$PATH'
|
prep_10: '/usr/bin/wget.exe https://nodejs.org/dist/v10.20.1/node-v10.20.1-win-x64.zip && ""C:\Program Files\7-zip\7z.exe"" x -o$TASKCLUSTER_NODE_DIR -tzip -aoa node-v10.20.1-win-x64.zip && rm node-*.zip && export PATH=$TASKCLUSTER_TASK_DIR/bin/node-v10.20.1-win-x64/:$PATH'
|
||||||
prep_11: '/usr/bin/wget.exe https://nodejs.org/dist/v11.15.0/node-v11.15.0-win-x64.zip && ""C:\Program Files\7-zip\7z.exe"" x -o$TASKCLUSTER_NODE_DIR -tzip -aoa node-v11.15.0-win-x64.zip && rm node-*.zip && export PATH=$TASKCLUSTER_TASK_DIR/bin/node-v11.15.0-win-x64/:$PATH'
|
prep_11: '/usr/bin/wget.exe https://nodejs.org/dist/v11.15.0/node-v11.15.0-win-x64.zip && ""C:\Program Files\7-zip\7z.exe"" x -o$TASKCLUSTER_NODE_DIR -tzip -aoa node-v11.15.0-win-x64.zip && rm node-*.zip && export PATH=$TASKCLUSTER_TASK_DIR/bin/node-v11.15.0-win-x64/:$PATH'
|
||||||
prep_12: '/usr/bin/wget.exe https://nodejs.org/dist/v12.17.0/node-v12.17.0-win-x64.zip && ""C:\Program Files\7-zip\7z.exe"" x -o$TASKCLUSTER_NODE_DIR -tzip -aoa node-v12.17.0-win-x64.zip && rm node-*.zip && export PATH=$TASKCLUSTER_TASK_DIR/bin/node-v12.17.0-win-x64/:$PATH'
|
prep_12: '/usr/bin/wget.exe https://nodejs.org/dist/v12.17.0/node-v12.17.0-win-x64.zip && ""C:\Program Files\7-zip\7z.exe"" x -o$TASKCLUSTER_NODE_DIR -tzip -aoa node-v12.17.0-win-x64.zip && rm node-*.zip && export PATH=$TASKCLUSTER_TASK_DIR/bin/node-v12.17.0-win-x64/:$PATH'
|
||||||
prep_13: '/usr/bin/wget.exe https://nodejs.org/dist/v13.14.0/node-v13.14.0-win-x64.zip && ""C:\Program Files\7-zip\7z.exe"" x -o$TASKCLUSTER_NODE_DIR -tzip -aoa node-v13.14.0-win-x64.zip && rm node-*.zip && export PATH=$TASKCLUSTER_TASK_DIR/bin/node-v13.14.0-win-x64/:$PATH'
|
prep_13: '/usr/bin/wget.exe https://nodejs.org/dist/v13.14.0/node-v13.14.0-win-x64.zip && ""C:\Program Files\7-zip\7z.exe"" x -o$TASKCLUSTER_NODE_DIR -tzip -aoa node-v13.14.0-win-x64.zip && rm node-*.zip && export PATH=$TASKCLUSTER_TASK_DIR/bin/node-v13.14.0-win-x64/:$PATH'
|
||||||
prep_14: '/usr/bin/wget.exe https://nodejs.org/dist/v14.3.0/node-v14.3.0-win-x64.zip && ""C:\Program Files\7-zip\7z.exe"" x -o$TASKCLUSTER_NODE_DIR -tzip -aoa node-v14.3.0-win-x64.zip && rm node-*.zip && export PATH=$TASKCLUSTER_TASK_DIR/bin/node-v14.3.0-win-x64/:$PATH'
|
prep_14: '/usr/bin/wget.exe https://nodejs.org/dist/v14.3.0/node-v14.3.0-win-x64.zip && ""C:\Program Files\7-zip\7z.exe"" x -o$TASKCLUSTER_NODE_DIR -tzip -aoa node-v14.3.0-win-x64.zip && rm node-*.zip && export PATH=$TASKCLUSTER_TASK_DIR/bin/node-v14.3.0-win-x64/:$PATH'
|
||||||
|
prep_15: '/usr/bin/wget.exe https://nodejs.org/dist/v15.0.0/node-v15.0.0-win-x64.zip && ""C:\Program Files\7-zip\7z.exe"" x -o$TASKCLUSTER_NODE_DIR -tzip -aoa node-v15.0.0-win-x64.zip && rm node-*.zip && export PATH=$TASKCLUSTER_TASK_DIR/bin/node-v15.0.0-win-x64/:$PATH'
|
||||||
system:
|
system:
|
||||||
node_gyp_cache:
|
node_gyp_cache:
|
||||||
url: 'https://community-tc.services.mozilla.com/api/index/v1/task/project.deepspeech.node-gyp-cache.10/artifacts/public/node-gyp-cache.tar.gz'
|
url: 'https://community-tc.services.mozilla.com/api/index/v1/task/project.deepspeech.node-gyp-cache.11/artifacts/public/node-gyp-cache.tar.gz'
|
||||||
namespace: 'project.deepspeech.node-gyp-cache.10'
|
namespace: 'project.deepspeech.node-gyp-cache.11'
|
||||||
homebrew_builds:
|
homebrew_builds:
|
||||||
url: 'https://community-tc.services.mozilla.com/api/index/v1/task/project.deepspeech.homebrew_builds.8/artifacts/public/homebrew_builds.tar.gz'
|
url: 'https://community-tc.services.mozilla.com/api/index/v1/task/project.deepspeech.homebrew_builds.13/artifacts/public/homebrew_builds.tar.gz'
|
||||||
namespace: 'project.deepspeech.homebrew_builds.8'
|
namespace: 'project.deepspeech.homebrew_builds.13'
|
||||||
homebrew_tests:
|
homebrew_tests:
|
||||||
url: 'https://community-tc.services.mozilla.com/api/index/v1/task/project.deepspeech.homebrew_tests.9/artifacts/public/homebrew_tests.tar.gz'
|
url: 'https://community-tc.services.mozilla.com/api/index/v1/task/project.deepspeech.homebrew_tests.13/artifacts/public/homebrew_tests.tar.gz'
|
||||||
namespace: 'project.deepspeech.homebrew_tests.9'
|
namespace: 'project.deepspeech.homebrew_tests.13'
|
||||||
android_cache:
|
android_cache:
|
||||||
arm64_v8a:
|
arm64_v8a:
|
||||||
android_24:
|
android_24:
|
||||||
|
|
|
@ -87,7 +87,7 @@ SUPPORTED_PYTHON_VERSIONS=${SUPPORTED_PYTHON_VERSIONS:-3.5.8:ucs2 3.6.10:ucs2 3.
|
||||||
#
|
#
|
||||||
# Also, builds should always target first major branch release to ensure proper binary compatibility
|
# Also, builds should always target first major branch release to ensure proper binary compatibility
|
||||||
# and tests should always target latest major branch release version
|
# and tests should always target latest major branch release version
|
||||||
SUPPORTED_NODEJS_BUILD_VERSIONS=${SUPPORTED_NODEJS_BUILD_VERSIONS:-10.0.0 11.0.0 12.7.0 13.0.0 14.0.0}
|
SUPPORTED_NODEJS_BUILD_VERSIONS=${SUPPORTED_NODEJS_BUILD_VERSIONS:-10.0.0 11.0.0 12.7.0 13.0.0 14.0.0 15.0.0}
|
||||||
SUPPORTED_NODEJS_TESTS_VERSIONS=${SUPPORTED_NODEJS_TESTS_VERSIONS:-10.20.1 11.15.0 12.17.0 13.14.0 14.3.0}
|
SUPPORTED_NODEJS_TESTS_VERSIONS=${SUPPORTED_NODEJS_TESTS_VERSIONS:-10.20.1 11.15.0 12.17.0 13.14.0 14.3.0 15.0.0}
|
||||||
|
|
||||||
SUPPORTED_ELECTRONJS_VERSIONS=${SUPPORTED_ELECTRONJS_VERSIONS:-5.0.13 6.0.12 6.1.7 7.0.1 7.1.8 8.0.1 9.0.1 9.1.0 9.2.0 10.0.0 10.1.0}
|
SUPPORTED_ELECTRONJS_VERSIONS=${SUPPORTED_ELECTRONJS_VERSIONS:-5.0.13 6.0.12 6.1.7 7.0.1 7.1.8 8.0.1 9.0.1 9.1.0 9.2.0 10.0.0 10.1.0}
|
||||||
|
|
|
@ -30,6 +30,9 @@ NODE_CACHE="${DS_ROOT_TASK}/ds-test.cache/"
|
||||||
export NODE_PATH="${NODE_ROOT}/node_modules/"
|
export NODE_PATH="${NODE_ROOT}/node_modules/"
|
||||||
export PATH="${NODE_ROOT}:${NODE_PATH}/.bin/:${NODE_PATH}/electron/dist/:$PATH"
|
export PATH="${NODE_ROOT}:${NODE_PATH}/.bin/:${NODE_PATH}/electron/dist/:$PATH"
|
||||||
|
|
||||||
|
# make sure that NODE_ROOT really exists
|
||||||
|
mkdir -p ${NODE_ROOT}
|
||||||
|
|
||||||
npm install --prefix ${NODE_ROOT} --cache ${NODE_CACHE} electron@${electronver}
|
npm install --prefix ${NODE_ROOT} --cache ${NODE_CACHE} electron@${electronver}
|
||||||
|
|
||||||
deepspeech_npm_url=$(get_dep_npm_pkg_url)
|
deepspeech_npm_url=$(get_dep_npm_pkg_url)
|
||||||
|
|
|
@ -34,6 +34,9 @@ NODE_CACHE="${DS_ROOT_TASK}/ds-test.cache/"
|
||||||
export NODE_PATH="${NODE_ROOT}/node_modules/"
|
export NODE_PATH="${NODE_ROOT}/node_modules/"
|
||||||
export PATH="${NODE_ROOT}:${NODE_PATH}/.bin/:${NODE_PATH}/electron/dist/:$PATH"
|
export PATH="${NODE_ROOT}:${NODE_PATH}/.bin/:${NODE_PATH}/electron/dist/:$PATH"
|
||||||
|
|
||||||
|
# make sure that NODE_ROOT really exists
|
||||||
|
mkdir -p ${NODE_ROOT}
|
||||||
|
|
||||||
npm install --prefix ${NODE_ROOT} --cache ${NODE_CACHE} electron@${electronver}
|
npm install --prefix ${NODE_ROOT} --cache ${NODE_CACHE} electron@${electronver}
|
||||||
|
|
||||||
deepspeech_npm_url=$(get_dep_npm_pkg_url)
|
deepspeech_npm_url=$(get_dep_npm_pkg_url)
|
||||||
|
|
|
@ -30,6 +30,9 @@ NODE_CACHE="${DS_ROOT_TASK}/ds-test.cache/"
|
||||||
export NODE_PATH="${NODE_ROOT}/node_modules/"
|
export NODE_PATH="${NODE_ROOT}/node_modules/"
|
||||||
export PATH="${NODE_ROOT}:${NODE_PATH}/.bin/:$PATH"
|
export PATH="${NODE_ROOT}:${NODE_PATH}/.bin/:$PATH"
|
||||||
|
|
||||||
|
# make sure that NODE_ROOT really exists
|
||||||
|
mkdir -p ${NODE_ROOT}
|
||||||
|
|
||||||
deepspeech_npm_url=$(get_dep_npm_pkg_url)
|
deepspeech_npm_url=$(get_dep_npm_pkg_url)
|
||||||
npm install --prefix ${NODE_ROOT} --cache ${NODE_CACHE} ${deepspeech_npm_url}
|
npm install --prefix ${NODE_ROOT} --cache ${NODE_CACHE} ${deepspeech_npm_url}
|
||||||
|
|
||||||
|
|
|
@ -24,6 +24,9 @@ NODE_CACHE="${DS_ROOT_TASK}/ds-test.cache/"
|
||||||
export NODE_PATH="${NODE_ROOT}/node_modules/"
|
export NODE_PATH="${NODE_ROOT}/node_modules/"
|
||||||
export PATH="${NODE_ROOT}:${NODE_PATH}/.bin/:$PATH"
|
export PATH="${NODE_ROOT}:${NODE_PATH}/.bin/:$PATH"
|
||||||
|
|
||||||
|
# make sure that NODE_ROOT really exists
|
||||||
|
mkdir -p ${NODE_ROOT}
|
||||||
|
|
||||||
deepspeech_npm_url=$(get_dep_npm_pkg_url)
|
deepspeech_npm_url=$(get_dep_npm_pkg_url)
|
||||||
npm install --prefix ${NODE_ROOT} --cache ${NODE_CACHE} ${deepspeech_npm_url}
|
npm install --prefix ${NODE_ROOT} --cache ${NODE_CACHE} ${deepspeech_npm_url}
|
||||||
|
|
||||||
|
|
|
@ -29,6 +29,9 @@ NODE_CACHE="${DS_ROOT_TASK}/ds-test.cache/"
|
||||||
export NODE_PATH="${NODE_ROOT}/node_modules/"
|
export NODE_PATH="${NODE_ROOT}/node_modules/"
|
||||||
export PATH="${NODE_ROOT}:${NODE_PATH}/.bin/:$PATH"
|
export PATH="${NODE_ROOT}:${NODE_PATH}/.bin/:$PATH"
|
||||||
|
|
||||||
|
# make sure that NODE_ROOT really exists
|
||||||
|
mkdir -p ${NODE_ROOT}
|
||||||
|
|
||||||
deepspeech_npm_url=$(get_dep_npm_pkg_url)
|
deepspeech_npm_url=$(get_dep_npm_pkg_url)
|
||||||
npm install --prefix ${NODE_ROOT} --cache ${NODE_CACHE} ${deepspeech_npm_url}
|
npm install --prefix ${NODE_ROOT} --cache ${NODE_CACHE} ${deepspeech_npm_url}
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,9 @@ NODE_CACHE="${DS_ROOT_TASK}/ds-test.cache/"
|
||||||
export NODE_PATH="${NODE_ROOT}/node_modules/"
|
export NODE_PATH="${NODE_ROOT}/node_modules/"
|
||||||
export PATH="${NODE_ROOT}:${NODE_PATH}/.bin/:$PATH"
|
export PATH="${NODE_ROOT}:${NODE_PATH}/.bin/:$PATH"
|
||||||
|
|
||||||
|
# make sure that NODE_ROOT really exists
|
||||||
|
mkdir -p ${NODE_ROOT}
|
||||||
|
|
||||||
deepspeech_npm_url=$(get_dep_npm_pkg_url)
|
deepspeech_npm_url=$(get_dep_npm_pkg_url)
|
||||||
npm install --prefix ${NODE_ROOT} --cache ${NODE_CACHE} ${deepspeech_npm_url}
|
npm install --prefix ${NODE_ROOT} --cache ${NODE_CACHE} ${deepspeech_npm_url}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
build:
|
||||||
|
template_file: test-armbian-opt-base.tyml
|
||||||
|
dependencies:
|
||||||
|
- "linux-arm64-cpu-opt"
|
||||||
|
- "test-training_16k-linux-amd64-py36m-opt"
|
||||||
|
test_model_task: "test-training_16k-linux-amd64-py36m-opt"
|
||||||
|
system_setup:
|
||||||
|
>
|
||||||
|
${nodejs.packages_buster.prep_15} && ${nodejs.packages_buster.apt_pinning} && apt-get -qq update && apt-get -qq -y install ${nodejs.packages_buster.apt}
|
||||||
|
args:
|
||||||
|
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-node_tflite-tests.sh 15.x 16k"
|
||||||
|
metadata:
|
||||||
|
name: "DeepSpeech ARMbian ARM64 Cortex-A53 CPU NodeJS 15.x tests"
|
||||||
|
description: "Testing DeepSpeech for ARMbian ARM64 Cortex-A53 on NodeJS v15.x, CPU only, optimized version"
|
|
@ -0,0 +1,15 @@
|
||||||
|
build:
|
||||||
|
template_file: test-darwin-opt-base.tyml
|
||||||
|
dependencies:
|
||||||
|
- "darwin-amd64-cpu-opt"
|
||||||
|
- "test-training_16k-linux-amd64-py36m-opt"
|
||||||
|
- "homebrew_tests-darwin-amd64"
|
||||||
|
test_model_task: "test-training_16k-linux-amd64-py36m-opt"
|
||||||
|
system_setup:
|
||||||
|
>
|
||||||
|
${nodejs.brew.prep_15}
|
||||||
|
args:
|
||||||
|
tests_cmdline: "$TASKCLUSTER_TASK_DIR/DeepSpeech/ds/taskcluster/tc-node-tests.sh 15.x 16k"
|
||||||
|
metadata:
|
||||||
|
name: "DeepSpeech OSX AMD64 CPU NodeJS 15.x tests"
|
||||||
|
description: "Testing DeepSpeech for OSX/AMD64 on NodeJS v15.x, CPU only, optimized version"
|
|
@ -0,0 +1,14 @@
|
||||||
|
build:
|
||||||
|
template_file: test-raspbian-opt-base.tyml
|
||||||
|
dependencies:
|
||||||
|
- "linux-rpi3-cpu-opt"
|
||||||
|
- "test-training_16k-linux-amd64-py36m-opt"
|
||||||
|
test_model_task: "test-training_16k-linux-amd64-py36m-opt"
|
||||||
|
system_setup:
|
||||||
|
>
|
||||||
|
${nodejs.packages_buster.prep_15} && ${nodejs.packages_buster.apt_pinning} && apt-get -qq update && apt-get -qq -y install ${nodejs.packages_buster.apt}
|
||||||
|
args:
|
||||||
|
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-node_tflite-tests.sh 15.x 16k"
|
||||||
|
metadata:
|
||||||
|
name: "DeepSpeech Raspbian RPi3/ARMv7 CPU NodeJS 15.x tests"
|
||||||
|
description: "Testing DeepSpeech for Raspbian RPi3/ARMv7 on NodeJS v15.x, CPU only, optimized version"
|
|
@ -0,0 +1,14 @@
|
||||||
|
build:
|
||||||
|
template_file: test-win-opt-base.tyml
|
||||||
|
dependencies:
|
||||||
|
- "win-amd64-cpu-opt"
|
||||||
|
- "test-training_16k-linux-amd64-py36m-opt"
|
||||||
|
test_model_task: "test-training_16k-linux-amd64-py36m-opt"
|
||||||
|
system_setup:
|
||||||
|
>
|
||||||
|
${system.sox_win} && ${nodejs.win.prep_15}
|
||||||
|
args:
|
||||||
|
tests_cmdline: "${system.homedir.win}/DeepSpeech/ds/taskcluster/tc-node-tests.sh 15.x 16k"
|
||||||
|
metadata:
|
||||||
|
name: "DeepSpeech Windows AMD64 CPU NodeJS 15.x tests"
|
||||||
|
description: "Testing DeepSpeech for Windows/AMD64 on NodeJS v15.x, CPU only, optimized version"
|
|
@ -0,0 +1,16 @@
|
||||||
|
build:
|
||||||
|
template_file: test-linux-opt-base.tyml
|
||||||
|
docker_image: "ubuntu:16.04"
|
||||||
|
dependencies:
|
||||||
|
- "linux-amd64-cpu-opt"
|
||||||
|
- "test-training_16k-linux-amd64-py36m-opt"
|
||||||
|
test_model_task: "test-training_16k-linux-amd64-py36m-opt"
|
||||||
|
system_setup:
|
||||||
|
>
|
||||||
|
${nodejs.packages_xenial.prep_15} && ${nodejs.packages_xenial.apt_pinning} && apt-get -qq update && apt-get -qq -y install ${nodejs.packages_xenial.apt}
|
||||||
|
args:
|
||||||
|
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-node-tests.sh 15.x 16k"
|
||||||
|
workerType: "${docker.dsTests}"
|
||||||
|
metadata:
|
||||||
|
name: "DeepSpeech Linux AMD64 CPU NodeJS 15.x tests (16kHz)"
|
||||||
|
description: "Testing DeepSpeech for Linux/AMD64 on NodeJS v15.x, CPU only, optimized version (16kHz)"
|
|
@ -0,0 +1,14 @@
|
||||||
|
build:
|
||||||
|
template_file: test-linux-opt-base.tyml
|
||||||
|
docker_image: "ubuntu:16.04"
|
||||||
|
dependencies:
|
||||||
|
- "linux-amd64-cpu-opt"
|
||||||
|
system_setup:
|
||||||
|
>
|
||||||
|
${nodejs.packages_xenial.prep_15} && ${nodejs.packages_xenial.apt_pinning} && apt-get -qq update && apt-get -qq -y install ${nodejs.packages_xenial.apt}
|
||||||
|
args:
|
||||||
|
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-node-tests-prod.sh 15.x 16k"
|
||||||
|
workerType: "${docker.dsTests}"
|
||||||
|
metadata:
|
||||||
|
name: "DeepSpeech Linux AMD64 CPU NodeJS 15.x prod tests (16kHz)"
|
||||||
|
description: "Testing DeepSpeech for Linux/AMD64 on NodeJS v15.x on prod model, CPU only, optimized version (16kHz)"
|
|
@ -0,0 +1,16 @@
|
||||||
|
build:
|
||||||
|
template_file: test-linux-opt-base.tyml
|
||||||
|
docker_image: "ubuntu:16.04"
|
||||||
|
dependencies:
|
||||||
|
- "node-package-cpu"
|
||||||
|
- "test-training_16k-linux-amd64-py36m-opt"
|
||||||
|
test_model_task: "test-training_16k-linux-amd64-py36m-opt"
|
||||||
|
system_setup:
|
||||||
|
>
|
||||||
|
${nodejs.packages_xenial.prep_15} && ${nodejs.packages_xenial.apt_pinning} && apt-get -qq update && apt-get -qq -y install ${nodejs.packages_xenial.apt}
|
||||||
|
args:
|
||||||
|
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-node-tests.sh 15.x 16k"
|
||||||
|
workerType: "${docker.dsTests}"
|
||||||
|
metadata:
|
||||||
|
name: "DeepSpeech Linux AMD64 CPU NodeJS MultiArch Package 15.x tests (16kHz)"
|
||||||
|
description: "Testing DeepSpeech for Linux/AMD64 on NodeJS MultiArch Package v15.x, CPU only, optimized version (16kHz)"
|
|
@ -0,0 +1,14 @@
|
||||||
|
build:
|
||||||
|
template_file: test-linux-opt-base.tyml
|
||||||
|
docker_image: "ubuntu:16.04"
|
||||||
|
dependencies:
|
||||||
|
- "node-package-cpu"
|
||||||
|
system_setup:
|
||||||
|
>
|
||||||
|
${nodejs.packages_xenial.prep_15} && ${nodejs.packages_xenial.apt_pinning} && apt-get -qq update && apt-get -qq -y install ${nodejs.packages_xenial.apt}
|
||||||
|
args:
|
||||||
|
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-node-tests-prod.sh 15.x 16k"
|
||||||
|
workerType: "${docker.dsTests}"
|
||||||
|
metadata:
|
||||||
|
name: "DeepSpeech Linux AMD64 CPU NodeJS MultiArch Package 15.x prod tests (16kHz)"
|
||||||
|
description: "Testing DeepSpeech for Linux/AMD64 on NodeJS MultiArch Package v15.x on prod model, CPU only, optimized version (16kHz)"
|
|
@ -0,0 +1,16 @@
|
||||||
|
build:
|
||||||
|
template_file: test-linux-opt-base.tyml
|
||||||
|
docker_image: "ubuntu:16.04"
|
||||||
|
dependencies:
|
||||||
|
- "node-package-tflite"
|
||||||
|
- "test-training_16k-linux-amd64-py36m-opt"
|
||||||
|
test_model_task: "test-training_16k-linux-amd64-py36m-opt"
|
||||||
|
system_setup:
|
||||||
|
>
|
||||||
|
${nodejs.packages_xenial.prep_15} && ${nodejs.packages_xenial.apt_pinning} && apt-get -qq update && apt-get -qq -y install ${nodejs.packages_xenial.apt}
|
||||||
|
args:
|
||||||
|
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-node_tflite-tests.sh 15.x 16k"
|
||||||
|
workerType: "${docker.dsTests}"
|
||||||
|
metadata:
|
||||||
|
name: "DeepSpeech Linux AMD64 TFLite NodeJS MultiArch Package 15.x tests (16kHz)"
|
||||||
|
description: "Testing DeepSpeech for Linux/AMD64 on NodeJS MultiArch Package v15.x, TFLite only, optimized version (16kHz)"
|
|
@ -0,0 +1,14 @@
|
||||||
|
build:
|
||||||
|
template_file: test-linux-opt-base.tyml
|
||||||
|
docker_image: "ubuntu:16.04"
|
||||||
|
dependencies:
|
||||||
|
- "linux-amd64-tflite-opt"
|
||||||
|
system_setup:
|
||||||
|
>
|
||||||
|
${nodejs.packages_xenial.prep_15} && ${nodejs.packages_xenial.apt_pinning} && apt-get -qq update && apt-get -qq -y install ${nodejs.packages_xenial.apt}
|
||||||
|
args:
|
||||||
|
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-node_tflite-tests-prod.sh 15.x 16k"
|
||||||
|
workerType: "${docker.dsTests}"
|
||||||
|
metadata:
|
||||||
|
name: "DeepSpeech Linux AMD64 TFLite NodeJS 15.x prod tests (16kHz)"
|
||||||
|
description: "Testing DeepSpeech for Linux/AMD64 on NodeJS v15.x on prod model, TFLite, optimized version (16kHz)"
|
|
@ -0,0 +1,16 @@
|
||||||
|
build:
|
||||||
|
template_file: test-linux-opt-base.tyml
|
||||||
|
docker_image: "ubuntu:16.04"
|
||||||
|
dependencies:
|
||||||
|
- "linux-amd64-cpu-opt"
|
||||||
|
- "test-training_8k-linux-amd64-py36m-opt"
|
||||||
|
test_model_task: "test-training_8k-linux-amd64-py36m-opt"
|
||||||
|
system_setup:
|
||||||
|
>
|
||||||
|
${nodejs.packages_xenial.prep_15} && ${nodejs.packages_xenial.apt_pinning} && apt-get -qq update && apt-get -qq -y install ${nodejs.packages_xenial.apt}
|
||||||
|
args:
|
||||||
|
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-node-tests.sh 15.x 8k"
|
||||||
|
workerType: "${docker.dsTests}"
|
||||||
|
metadata:
|
||||||
|
name: "DeepSpeech Linux AMD64 CPU NodeJS 15.x tests (8kHz)"
|
||||||
|
description: "Testing DeepSpeech for Linux/AMD64 on NodeJS v15.x, CPU only, optimized version (8kHz)"
|
|
@ -0,0 +1,14 @@
|
||||||
|
build:
|
||||||
|
template_file: test-linux-opt-base.tyml
|
||||||
|
docker_image: "ubuntu:16.04"
|
||||||
|
dependencies:
|
||||||
|
- "linux-amd64-cpu-opt"
|
||||||
|
system_setup:
|
||||||
|
>
|
||||||
|
${nodejs.packages_xenial.prep_15} && ${nodejs.packages_xenial.apt_pinning} && apt-get -qq update && apt-get -qq -y install ${nodejs.packages_xenial.apt}
|
||||||
|
args:
|
||||||
|
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-node-tests-prod.sh 15.x 8k"
|
||||||
|
workerType: "${docker.dsTests}"
|
||||||
|
metadata:
|
||||||
|
name: "DeepSpeech Linux AMD64 CPU NodeJS 15.x prod tests (8kHz)"
|
||||||
|
description: "Testing DeepSpeech for Linux/AMD64 on NodeJS v15.x on prod model, CPU only, optimized version (8kHz)"
|
|
@ -0,0 +1,16 @@
|
||||||
|
build:
|
||||||
|
template_file: test-linux-opt-base.tyml
|
||||||
|
docker_image: "ubuntu:16.04"
|
||||||
|
dependencies:
|
||||||
|
- "node-package-cpu"
|
||||||
|
- "test-training_8k-linux-amd64-py36m-opt"
|
||||||
|
test_model_task: "test-training_8k-linux-amd64-py36m-opt"
|
||||||
|
system_setup:
|
||||||
|
>
|
||||||
|
${nodejs.packages_xenial.prep_15} && ${nodejs.packages_xenial.apt_pinning} && apt-get -qq update && apt-get -qq -y install ${nodejs.packages_xenial.apt}
|
||||||
|
args:
|
||||||
|
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-node-tests.sh 15.x 8k"
|
||||||
|
workerType: "${docker.dsTests}"
|
||||||
|
metadata:
|
||||||
|
name: "DeepSpeech Linux AMD64 CPU NodeJS MultiArch Package 15.x tests (8kHz)"
|
||||||
|
description: "Testing DeepSpeech for Linux/AMD64 on NodeJS MultiArch Package v15.x, CPU only, optimized version (8kHz)"
|
|
@ -0,0 +1,14 @@
|
||||||
|
build:
|
||||||
|
template_file: test-linux-opt-base.tyml
|
||||||
|
docker_image: "ubuntu:16.04"
|
||||||
|
dependencies:
|
||||||
|
- "node-package-cpu"
|
||||||
|
system_setup:
|
||||||
|
>
|
||||||
|
${nodejs.packages_xenial.prep_15} && ${nodejs.packages_xenial.apt_pinning} && apt-get -qq update && apt-get -qq -y install ${nodejs.packages_xenial.apt}
|
||||||
|
args:
|
||||||
|
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-node-tests-prod.sh 15.x 8k"
|
||||||
|
workerType: "${docker.dsTests}"
|
||||||
|
metadata:
|
||||||
|
name: "DeepSpeech Linux AMD64 CPU NodeJS MultiArch Package 15.x prod tests (8kHz)"
|
||||||
|
description: "Testing DeepSpeech for Linux/AMD64 on NodeJS MultiArch Package v15.x on prod model, CPU only, optimized version (8kHz)"
|
|
@ -0,0 +1,16 @@
|
||||||
|
build:
|
||||||
|
template_file: test-linux-opt-base.tyml
|
||||||
|
docker_image: "ubuntu:16.04"
|
||||||
|
dependencies:
|
||||||
|
- "node-package-tflite"
|
||||||
|
- "test-training_8k-linux-amd64-py36m-opt"
|
||||||
|
test_model_task: "test-training_8k-linux-amd64-py36m-opt"
|
||||||
|
system_setup:
|
||||||
|
>
|
||||||
|
${nodejs.packages_xenial.prep_15} && ${nodejs.packages_xenial.apt_pinning} && apt-get -qq update && apt-get -qq -y install ${nodejs.packages_xenial.apt}
|
||||||
|
args:
|
||||||
|
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-node_tflite-tests.sh 15.x 8k"
|
||||||
|
workerType: "${docker.dsTests}"
|
||||||
|
metadata:
|
||||||
|
name: "DeepSpeech Linux AMD64 TFLite NodeJS MultiArch Package 15.x tests (8kHz)"
|
||||||
|
description: "Testing DeepSpeech for Linux/AMD64 on NodeJS MultiArch Package v15.x, TFLite only, optimized version (8kHz)"
|
|
@ -0,0 +1,14 @@
|
||||||
|
build:
|
||||||
|
template_file: test-linux-opt-base.tyml
|
||||||
|
docker_image: "ubuntu:16.04"
|
||||||
|
dependencies:
|
||||||
|
- "linux-amd64-tflite-opt"
|
||||||
|
system_setup:
|
||||||
|
>
|
||||||
|
${nodejs.packages_xenial.prep_15} && ${nodejs.packages_xenial.apt_pinning} && apt-get -qq update && apt-get -qq -y install ${nodejs.packages_xenial.apt}
|
||||||
|
args:
|
||||||
|
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-node_tflite-tests-prod.sh 15.x 8k"
|
||||||
|
workerType: "${docker.dsTests}"
|
||||||
|
metadata:
|
||||||
|
name: "DeepSpeech Linux AMD64 TFLite NodeJS 15.x prod tests (8kHz)"
|
||||||
|
description: "Testing DeepSpeech for Linux/AMD64 on NodeJS v15.x on prod model, TFLite, optimized version (8kHz)"
|
|
@ -0,0 +1,14 @@
|
||||||
|
build:
|
||||||
|
template_file: test-armbian-opt-base.tyml
|
||||||
|
dependencies:
|
||||||
|
- "node-package-cpu"
|
||||||
|
- "test-training_16k-linux-amd64-py36m-opt"
|
||||||
|
test_model_task: "test-training_16k-linux-amd64-py36m-opt"
|
||||||
|
system_setup:
|
||||||
|
>
|
||||||
|
${nodejs.packages_buster.prep_15} && ${nodejs.packages_buster.apt_pinning} && apt-get -qq update && apt-get -qq -y install ${nodejs.packages_buster.apt}
|
||||||
|
args:
|
||||||
|
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-node_tflite-tests.sh 15.x 16k"
|
||||||
|
metadata:
|
||||||
|
name: "DeepSpeech ARMbian ARM64 Cortex-A53 CPU NodeJS MultiArch Package 15.x tests"
|
||||||
|
description: "Testing DeepSpeech for ARMbian ARM64 Cortex-A53 on NodeJS MultiArch Package v15.x, CPU only, optimized version"
|
|
@ -0,0 +1,15 @@
|
||||||
|
build:
|
||||||
|
template_file: test-darwin-opt-base.tyml
|
||||||
|
dependencies:
|
||||||
|
- "node-package-cpu"
|
||||||
|
- "test-training_16k-linux-amd64-py36m-opt"
|
||||||
|
- "homebrew_tests-darwin-amd64"
|
||||||
|
test_model_task: "test-training_16k-linux-amd64-py36m-opt"
|
||||||
|
system_setup:
|
||||||
|
>
|
||||||
|
${nodejs.brew.prep_15}
|
||||||
|
args:
|
||||||
|
tests_cmdline: "$TASKCLUSTER_TASK_DIR/DeepSpeech/ds/taskcluster/tc-node-tests.sh 15.x 16k"
|
||||||
|
metadata:
|
||||||
|
name: "DeepSpeech OSX AMD64 CPU NodeJS MultiArch Package 15.x tests"
|
||||||
|
description: "Testing DeepSpeech for OSX/AMD64 on NodeJS MultiArch Package v15.x, CPU only, optimized version"
|
|
@ -0,0 +1,15 @@
|
||||||
|
build:
|
||||||
|
template_file: test-darwin-opt-base.tyml
|
||||||
|
dependencies:
|
||||||
|
- "node-package-tflite"
|
||||||
|
- "test-training_16k-linux-amd64-py36m-opt"
|
||||||
|
- "homebrew_tests-darwin-amd64"
|
||||||
|
test_model_task: "test-training_16k-linux-amd64-py36m-opt"
|
||||||
|
system_setup:
|
||||||
|
>
|
||||||
|
${nodejs.brew.prep_15}
|
||||||
|
args:
|
||||||
|
tests_cmdline: "$TASKCLUSTER_TASK_DIR/DeepSpeech/ds/taskcluster/tc-node_tflite-tests.sh 15.x 16k"
|
||||||
|
metadata:
|
||||||
|
name: "DeepSpeech OSX AMD64 TFLite NodeJS MultiArch Package 15.x tests"
|
||||||
|
description: "Testing DeepSpeech for OSX/AMD64 on NodeJS MultiArch Package v15.x, TFLite only, optimized version"
|
|
@ -0,0 +1,14 @@
|
||||||
|
build:
|
||||||
|
template_file: test-raspbian-opt-base.tyml
|
||||||
|
dependencies:
|
||||||
|
- "node-package-cpu"
|
||||||
|
- "test-training_16k-linux-amd64-py36m-opt"
|
||||||
|
test_model_task: "test-training_16k-linux-amd64-py36m-opt"
|
||||||
|
system_setup:
|
||||||
|
>
|
||||||
|
${nodejs.packages_buster.prep_15} && ${nodejs.packages_buster.apt_pinning} && apt-get -qq update && apt-get -qq -y install ${nodejs.packages_buster.apt}
|
||||||
|
args:
|
||||||
|
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-node_tflite-tests.sh 15.x 16k"
|
||||||
|
metadata:
|
||||||
|
name: "DeepSpeech Raspbian RPi3/ARMv7 CPU NodeJS MultiArch Package 15.x tests"
|
||||||
|
description: "Testing DeepSpeech for Raspbian RPi3/ARMv7 on NodeJS MultiArch Package v15.x, CPU only, optimized version"
|
|
@ -0,0 +1,14 @@
|
||||||
|
build:
|
||||||
|
template_file: test-win-opt-base.tyml
|
||||||
|
dependencies:
|
||||||
|
- "node-package-cpu"
|
||||||
|
- "test-training_16k-linux-amd64-py36m-opt"
|
||||||
|
test_model_task: "test-training_16k-linux-amd64-py36m-opt"
|
||||||
|
system_setup:
|
||||||
|
>
|
||||||
|
${system.sox_win} && ${nodejs.win.prep_15}
|
||||||
|
args:
|
||||||
|
tests_cmdline: "${system.homedir.win}/DeepSpeech/ds/taskcluster/tc-node-tests.sh 15.x 16k"
|
||||||
|
metadata:
|
||||||
|
name: "DeepSpeech Windows AMD64 CPU NodeJS MultiArch Package 15.x tests"
|
||||||
|
description: "Testing DeepSpeech for Windows/AMD64 on NodeJS MultiArch Package v15.x, CPU only, optimized version"
|
|
@ -0,0 +1,14 @@
|
||||||
|
build:
|
||||||
|
template_file: test-win-cuda-opt-base.tyml
|
||||||
|
dependencies:
|
||||||
|
- "node-package-gpu"
|
||||||
|
- "test-training_16k-linux-amd64-py36m-opt"
|
||||||
|
test_model_task: "test-training_16k-linux-amd64-py36m-opt"
|
||||||
|
system_setup:
|
||||||
|
>
|
||||||
|
${system.sox_win} && ${nodejs.win.prep_15}
|
||||||
|
args:
|
||||||
|
tests_cmdline: "${system.homedir.win}/DeepSpeech/ds/taskcluster/tc-node-tests.sh 15.x 16k cuda"
|
||||||
|
metadata:
|
||||||
|
name: "DeepSpeech Windows AMD64 CUDA NodeJS MultiArch Package 15.x tests"
|
||||||
|
description: "Testing DeepSpeech for Windows/AMD64 on NodeJS MultiArch Package v15.x, CUDA, optimized version"
|
|
@ -0,0 +1,14 @@
|
||||||
|
build:
|
||||||
|
template_file: test-win-opt-base.tyml
|
||||||
|
dependencies:
|
||||||
|
- "node-package-tflite"
|
||||||
|
- "test-training_16k-linux-amd64-py36m-opt"
|
||||||
|
test_model_task: "test-training_16k-linux-amd64-py36m-opt"
|
||||||
|
system_setup:
|
||||||
|
>
|
||||||
|
${system.sox_win} && ${nodejs.win.prep_15}
|
||||||
|
args:
|
||||||
|
tests_cmdline: "${system.homedir.win}/DeepSpeech/ds/taskcluster/tc-node_tflite-tests.sh 15.x 16k"
|
||||||
|
metadata:
|
||||||
|
name: "DeepSpeech Windows AMD64 TFLite NodeJS MultiArch Package 15.x tests"
|
||||||
|
description: "Testing DeepSpeech for Windows/AMD64 on NodeJS MultiArch Package v15.x, TFLite only, optimized version"
|
Loading…
Reference in New Issue