From 348dd0e315aa52c13e0fe9d7883221c0ef4848e3 Mon Sep 17 00:00:00 2001 From: Alexandre Lissy Date: Thu, 25 Apr 2019 13:49:17 +0200 Subject: [PATCH] Add ElectronJS v5.0.0 --- .../test-electronjs_v5.0-darwin-amd64-opt.yml | 13 +++++++++++++ .../test-electronjs_v5.0-linux-amd64-opt.yml | 14 ++++++++++++++ taskcluster/test-electronjs_v5.0-win-amd64-opt.yml | 13 +++++++++++++ tc-tests-utils.sh | 2 +- 4 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 taskcluster/test-electronjs_v5.0-darwin-amd64-opt.yml create mode 100644 taskcluster/test-electronjs_v5.0-linux-amd64-opt.yml create mode 100644 taskcluster/test-electronjs_v5.0-win-amd64-opt.yml diff --git a/taskcluster/test-electronjs_v5.0-darwin-amd64-opt.yml b/taskcluster/test-electronjs_v5.0-darwin-amd64-opt.yml new file mode 100644 index 0000000000..8c0fc8c83e --- /dev/null +++ b/taskcluster/test-electronjs_v5.0-darwin-amd64-opt.yml @@ -0,0 +1,13 @@ +build: + template_file: test-darwin-opt-base.tyml + dependencies: + - "node-package-cpu" + - "test-training_upstream-linux-amd64-py27mu-opt" + system_setup: + > + ${nodejs.brew.setup} && ${nodejs.brew.prep_12} && ${nodejs.brew.env} + args: + tests_cmdline: "$TASKCLUSTER_TASK_DIR/DeepSpeech/ds/tc-electron-tests.sh 12.x 5.0.0" + metadata: + name: "DeepSpeech OSX AMD64 CPU ElectronJS v5.0 tests" + description: "Testing DeepSpeech for OSX/AMD64 on ElectronJS v5.0, CPU only, optimized version" diff --git a/taskcluster/test-electronjs_v5.0-linux-amd64-opt.yml b/taskcluster/test-electronjs_v5.0-linux-amd64-opt.yml new file mode 100644 index 0000000000..a71bb54fe4 --- /dev/null +++ b/taskcluster/test-electronjs_v5.0-linux-amd64-opt.yml @@ -0,0 +1,14 @@ +build: + template_file: test-linux-opt-base.tyml + docker_image: "ubuntu:16.04" + dependencies: + - "node-package-cpu" + - "test-training_upstream-linux-amd64-py27mu-opt" + system_setup: + > + ${nodejs.packages_xenial.prep_12} && ${nodejs.packages_xenial.apt_pinning} && apt-get -qq update && apt-get -qq -y install ${nodejs.packages_xenial.apt} ${electronjs.packages_xenial.apt} + args: + tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/tc-electron-tests.sh 12.x 5.0.0" + metadata: + name: "DeepSpeech Linux AMD64 CPU ElectronJS v5.0 tests" + description: "Testing DeepSpeech for Linux/AMD64 on ElectronJS v5.0, CPU only, optimized version" diff --git a/taskcluster/test-electronjs_v5.0-win-amd64-opt.yml b/taskcluster/test-electronjs_v5.0-win-amd64-opt.yml new file mode 100644 index 0000000000..2524e22ea9 --- /dev/null +++ b/taskcluster/test-electronjs_v5.0-win-amd64-opt.yml @@ -0,0 +1,13 @@ +build: + template_file: test-win-opt-base.tyml + dependencies: + - "node-package-cpu" + - "test-training_upstream-linux-amd64-py27mu-opt" + system_setup: + > + ${system.sox_win} && ${nodejs.win.prep_12} + args: + tests_cmdline: "${system.homedir.win}/DeepSpeech/ds/tc-electron-tests.sh 12.x 5.0.0" + metadata: + name: "DeepSpeech Windows AMD64 CPU ElectronJS v5.0 tests" + description: "Testing DeepSpeech for Windows/AMD64 on ElectronJS v5.0, CPU only, optimized version" diff --git a/tc-tests-utils.sh b/tc-tests-utils.sh index 575d25e513..5f1d89b5c8 100755 --- a/tc-tests-utils.sh +++ b/tc-tests-utils.sh @@ -57,7 +57,7 @@ model_source_mmap="$(dirname "${model_source}")/${model_name_mmap}" SUPPORTED_PYTHON_VERSIONS=${SUPPORTED_PYTHON_VERSIONS:-2.7.15:ucs2 2.7.15:ucs4 3.4.9:ucs4 3.5.6:ucs4 3.6.7:ucs4 3.7.1:ucs4} SUPPORTED_NODEJS_VERSIONS=${SUPPORTED_NODEJS_VERSIONS:-4.9.1 5.12.0 6.14.4 7.10.1 8.12.0 9.11.2 10.12.0 11.0.0 12.0.0} -SUPPORTED_ELECTRONJS_VERSIONS=${SUPPORTED_ELECTRONJS_VERSIONS:-1.6.18 1.7.16 1.8.8 2.0.18 3.0.16 3.1.8 4.0.3 4.1.4} +SUPPORTED_ELECTRONJS_VERSIONS=${SUPPORTED_ELECTRONJS_VERSIONS:-1.6.18 1.7.16 1.8.8 2.0.18 3.0.16 3.1.8 4.0.3 4.1.4 5.0.0} strip() { echo "$(echo $1 | sed -e 's/^[[:space:]]+//' -e 's/[[:space:]]+$//')"