Skip to content

Commit 1d7a554

Browse files
authored
Merge pull request #3552 from lissyx/electronjs-12
Add ElectronJS v12.0
2 parents 2bb42d4 + fe9b882 commit 1d7a554

9 files changed

+106
-3
lines changed

taskcluster/.shared.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ nodejs:
8383
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'
8484
system:
8585
node_gyp_cache:
86-
url: 'https://community-tc.services.mozilla.com/api/index/v1/task/project.deepspeech.node-gyp-cache.11/artifacts/public/node-gyp-cache.tar.gz'
87-
namespace: 'project.deepspeech.node-gyp-cache.11'
86+
url: 'https://community-tc.services.mozilla.com/api/index/v1/task/project.deepspeech.node-gyp-cache.12/artifacts/public/node-gyp-cache.tar.gz'
87+
namespace: 'project.deepspeech.node-gyp-cache.12'
8888
homebrew_builds:
8989
url: 'https://community-tc.services.mozilla.com/api/index/v1/task/project.deepspeech.homebrew_builds.13/artifacts/public/homebrew_builds.tar.gz'
9090
namespace: 'project.deepspeech.homebrew_builds.13'

taskcluster/tc-all-vars.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,4 @@ SUPPORTED_PYTHON_VERSIONS=${SUPPORTED_PYTHON_VERSIONS:-3.5.8:ucs2 3.6.10:ucs2 3.
9090
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}
9191
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}
9292

93-
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 11.0.0}
93+
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 11.0.0 12.0.0}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
build:
2+
template_file: test-darwin-opt-base.tyml
3+
dependencies:
4+
- "darwin-amd64-cpu-opt"
5+
- "test-training_16k-linux-amd64-py36m-opt"
6+
- "homebrew_tests-darwin-amd64"
7+
test_model_task: "test-training_16k-linux-amd64-py36m-opt"
8+
system_setup:
9+
>
10+
${nodejs.brew.prep_12}
11+
args:
12+
tests_cmdline: "$TASKCLUSTER_TASK_DIR/DeepSpeech/ds/taskcluster/tc-electron-tests.sh 12.x 12.0.0 16k"
13+
metadata:
14+
name: "DeepSpeech OSX AMD64 CPU ElectronJS v12.0 tests"
15+
description: "Testing DeepSpeech for OSX/AMD64 on ElectronJS v12.0, CPU only, optimized version"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
build:
2+
template_file: test-win-opt-base.tyml
3+
dependencies:
4+
- "win-amd64-cpu-opt"
5+
- "test-training_16k-linux-amd64-py36m-opt"
6+
test_model_task: "test-training_16k-linux-amd64-py36m-opt"
7+
system_setup:
8+
>
9+
${system.sox_win} && ${nodejs.win.prep_12}
10+
args:
11+
tests_cmdline: "${system.homedir.win}/DeepSpeech/ds/taskcluster/tc-electron-tests.sh 12.x 12.0.0 16k"
12+
metadata:
13+
name: "DeepSpeech Windows AMD64 CPU ElectronJS v12.0 tests"
14+
description: "Testing DeepSpeech for Windows/AMD64 on ElectronJS v12.0, CPU only, optimized version"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
build:
2+
template_file: test-linux-opt-base.tyml
3+
docker_image: "ubuntu:16.04"
4+
dependencies:
5+
- "linux-amd64-cpu-opt"
6+
- "test-training_16k-linux-amd64-py36m-opt"
7+
test_model_task: "test-training_16k-linux-amd64-py36m-opt"
8+
system_setup:
9+
>
10+
${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}
11+
args:
12+
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-electron-tests.sh 12.x 12.0.0 16k"
13+
workerType: "${docker.dsTests}"
14+
metadata:
15+
name: "DeepSpeech Linux AMD64 CPU ElectronJS v12.0 tests (16kHz)"
16+
description: "Testing DeepSpeech for Linux/AMD64 on ElectronJS v12.0, CPU only, optimized version (16kHz)"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
build:
2+
template_file: test-linux-opt-base.tyml
3+
docker_image: "ubuntu:16.04"
4+
dependencies:
5+
- "linux-amd64-cpu-opt"
6+
- "test-training_8k-linux-amd64-py36m-opt"
7+
test_model_task: "test-training_8k-linux-amd64-py36m-opt"
8+
system_setup:
9+
>
10+
${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}
11+
args:
12+
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-electron-tests.sh 12.x 12.0.0 8k"
13+
workerType: "${docker.dsTests}"
14+
metadata:
15+
name: "DeepSpeech Linux AMD64 CPU ElectronJS v12.0 tests (8kHz)"
16+
description: "Testing DeepSpeech for Linux/AMD64 on ElectronJS v12.0, CPU only, optimized version (8kHz)"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
build:
2+
template_file: test-win-opt-base.tyml
3+
dependencies:
4+
- "node-package-cpu"
5+
- "test-training_16k-linux-amd64-py36m-opt"
6+
test_model_task: "test-training_16k-linux-amd64-py36m-opt"
7+
system_setup:
8+
>
9+
${system.sox_win} && ${nodejs.win.prep_12}
10+
args:
11+
tests_cmdline: "${system.homedir.win}/DeepSpeech/ds/taskcluster/tc-electron-tests.sh 12.x 12.0.0 16k"
12+
metadata:
13+
name: "DeepSpeech Windows AMD64 CPU ElectronJS MultiArch Package v12.0 tests"
14+
description: "Testing DeepSpeech for Windows/AMD64 on ElectronJS MultiArch Package v12.0, CPU only, optimized version"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
build:
2+
template_file: test-win-cuda-opt-base.tyml
3+
dependencies:
4+
- "node-package-gpu"
5+
- "test-training_16k-linux-amd64-py36m-opt"
6+
test_model_task: "test-training_16k-linux-amd64-py36m-opt"
7+
system_setup:
8+
>
9+
${system.sox_win} && ${nodejs.win.prep_12}
10+
args:
11+
tests_cmdline: "${system.homedir.win}/DeepSpeech/ds/taskcluster/tc-electron-tests.sh 12.x 12.0.0 16k cuda"
12+
metadata:
13+
name: "DeepSpeech Windows AMD64 CUDA ElectronJS MultiArch Package v12.0 tests"
14+
description: "Testing DeepSpeech for Windows/AMD64 on ElectronJS MultiArch Package v12.0, CUDA, optimized version"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
build:
2+
template_file: test-win-opt-base.tyml
3+
dependencies:
4+
- "node-package-tflite"
5+
- "test-training_16k-linux-amd64-py36m-opt"
6+
test_model_task: "test-training_16k-linux-amd64-py36m-opt"
7+
system_setup:
8+
>
9+
${system.sox_win} && ${nodejs.win.prep_12}
10+
args:
11+
tests_cmdline: "${system.homedir.win}/DeepSpeech/ds/taskcluster/tc-electron_tflite-tests.sh 12.x 12.0.0 16k"
12+
metadata:
13+
name: "DeepSpeech Windows AMD64 TFLite ElectronJS MultiArch Package v12.0 tests"
14+
description: "Testing DeepSpeech for Windows/AMD64 on ElectronJS MultiArch Package v12.0, TFLite only, optimized version"

0 commit comments

Comments
 (0)