Merge pull request #3222 from lissyx/pr-electron-example-r0.8

Electron example
This commit is contained in:
lissyx 2020-08-04 20:01:52 +02:00 committed by GitHub
commit 8e3c8d0af8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 2 deletions

View File

@ -25,8 +25,8 @@ then:
DEEPSPEECH_MODEL: "https://github.com/reuben/DeepSpeech/releases/download/v0.8.0/models_0.8.tar.gz"
DEEPSPEECH_AUDIO: "https://github.com/mozilla/DeepSpeech/releases/download/v0.4.1/audio-0.4.1.tar.gz"
PIP_DEFAULT_TIMEOUT: "60"
EXAMPLES_CLONE_URL: "https://github.com/mozilla/DeepSpeech-examples"
EXAMPLES_CHECKOUT_TARGET: "r0.8"
EXAMPLES_CLONE_URL: "https://github.com/lissyx/DeepSpeech-examples"
EXAMPLES_CHECKOUT_TARGET: "pr-electron-example"
command:
- "/bin/bash"

View File

@ -0,0 +1,14 @@
build:
template_file: examples-base.tyml
docker_image: "node:12"
dependencies:
- "linux-amd64-cpu-opt"
system_setup:
>
apt-get -qq update && apt-get -qq -y install ${electronjs.packages_xenial.apt}
args:
tests_cmdline: "${system.homedir.linux}/DeepSpeech/examples/electron/test.sh"
workerType: "${docker.dsTests}"
metadata:
name: "DeepSpeech examples: ElectronJS/React on NodeJS v12.x"
description: "DeepSpeech examples: ElectronJS/React on NodeJS v12.x"