Skip to content
This repository was archived by the owner on Jun 19, 2025. It is now read-only.

Commit 8fc6b7b

Browse files
authored
Merge pull request #2764 from lissyx/electronjsv8.0
Support ElectronJS v8.0
2 parents f27457c + 82344b9 commit 8fc6b7b

6 files changed

+61
-3
lines changed

taskcluster/.shared.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ cpp:
6060
env: 'export EXTRA_ENV="DYLD_LIBRARY_PATH=$LOCAL_HOMEBREW_DIRECTORY/lib/:$DYLD_LIBRARY_PATH"'
6161
system:
6262
node_gyp_cache:
63-
url: 'https://community-tc.services.mozilla.com/api/index/v1/task/project.deepspeech.node-gyp-cache.1/artifacts/public/node-gyp-cache.tar.gz'
64-
namespace: 'project.deepspeech.node-gyp-cache.1'
63+
url: 'https://community-tc.services.mozilla.com/api/index/v1/task/project.deepspeech.node-gyp-cache.2/artifacts/public/node-gyp-cache.tar.gz'
64+
namespace: 'project.deepspeech.node-gyp-cache.2'
6565
swig:
6666
repo: "https://github.com/lissyx/swig"
6767
sha1: "b5fea54d39832d1d132d7dd921b69c0c2c9d5118"

taskcluster/tc-all-vars.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,4 @@ SUPPORTED_PYTHON_VERSIONS=${SUPPORTED_PYTHON_VERSIONS:-3.5.8:ucs4 3.6.10:ucs4 3.
8282
# deepspeech.node-gyp-cache.<X> in both `system.node_gyp_cache` (taskcluster/.shared.yml)
8383
# and route index (taskcluster/node-gyp-cache.yml) to ensure the cache is updated
8484
SUPPORTED_NODEJS_VERSIONS=${SUPPORTED_NODEJS_VERSIONS:-10.18.1 11.15.0 12.8.1 13.1.0}
85-
SUPPORTED_ELECTRONJS_VERSIONS=${SUPPORTED_ELECTRONJS_VERSIONS:-5.0.13 6.0.12 6.1.7 7.0.1 7.1.8}
85+
SUPPORTED_ELECTRONJS_VERSIONS=${SUPPORTED_ELECTRONJS_VERSIONS:-5.0.13 6.0.12 6.1.7 7.0.1 7.1.8 8.0.1}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
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+
test_model_task: "test-training_16k-linux-amd64-py36m-opt"
7+
system_setup:
8+
>
9+
${nodejs.brew.setup} && ${nodejs.brew.prep_12} && ${nodejs.brew.env}
10+
args:
11+
tests_cmdline: "$TASKCLUSTER_TASK_DIR/DeepSpeech/ds/taskcluster/tc-electron-tests.sh 12.x 8.0.1 16k"
12+
metadata:
13+
name: "DeepSpeech OSX AMD64 CPU ElectronJS v8.0 tests"
14+
description: "Testing DeepSpeech for OSX/AMD64 on ElectronJS v8.0, CPU only, optimized version"
Lines changed: 14 additions & 0 deletions
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 8.0.1 16k"
12+
metadata:
13+
name: "DeepSpeech Windows AMD64 CPU ElectronJS v8.0 tests"
14+
description: "Testing DeepSpeech for Windows/AMD64 on ElectronJS v8.0, CPU only, optimized version"
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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 8.0.1 16k"
13+
metadata:
14+
name: "DeepSpeech Linux AMD64 CPU ElectronJS v8.0 tests (16kHz)"
15+
description: "Testing DeepSpeech for Linux/AMD64 on ElectronJS v8.0, CPU only, optimized version (16kHz)"
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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 8.0.1 8k"
13+
metadata:
14+
name: "DeepSpeech Linux AMD64 CPU ElectronJS v8.0 tests (8kHz)"
15+
description: "Testing DeepSpeech for Linux/AMD64 on ElectronJS v8.0, CPU only, optimized version (8kHz)"

0 commit comments

Comments
 (0)