Check out and point to external examples repo in automation
This commit is contained in:
parent
5a0adc8846
commit
a5deaa5f48
@ -33,6 +33,8 @@ then:
|
|||||||
DEEPSPEECH_MODEL: "https://github.com/reuben/DeepSpeech/releases/download/v0.6.0-alpha.15/models.tar.gz"
|
DEEPSPEECH_MODEL: "https://github.com/reuben/DeepSpeech/releases/download/v0.6.0-alpha.15/models.tar.gz"
|
||||||
DEEPSPEECH_AUDIO: "https://github.com/mozilla/DeepSpeech/releases/download/v0.4.1/audio-0.4.1.tar.gz"
|
DEEPSPEECH_AUDIO: "https://github.com/mozilla/DeepSpeech/releases/download/v0.4.1/audio-0.4.1.tar.gz"
|
||||||
PIP_DEFAULT_TIMEOUT: "60"
|
PIP_DEFAULT_TIMEOUT: "60"
|
||||||
|
EXAMPLES_CLONE_URL: "https://github.com/mozilla/DeepSpeech-examples"
|
||||||
|
EXAMPLES_CHECKOUT_TARGET: "master"
|
||||||
|
|
||||||
command:
|
command:
|
||||||
- "/bin/bash"
|
- "/bin/bash"
|
||||||
@ -44,7 +46,7 @@ then:
|
|||||||
apt-get -qq update && apt-get -qq -y upgrade && apt-get -qq -y install git sox sudo && ${extraSystemSetup} &&
|
apt-get -qq update && apt-get -qq -y upgrade && apt-get -qq -y install git sox sudo && ${extraSystemSetup} &&
|
||||||
adduser --system --home ${system.homedir.linux} ${system.username} &&
|
adduser --system --home ${system.homedir.linux} ${system.username} &&
|
||||||
cd ${system.homedir.linux} &&
|
cd ${system.homedir.linux} &&
|
||||||
echo -e "#!/bin/bash\nset -xe\n env && id && mkdir ~/DeepSpeech/ && git clone --quiet ${event.head.repo.url} ~/DeepSpeech/ds/ && cd ~/DeepSpeech/ds && git checkout --quiet ${event.head.sha} && wget -O - $DEEPSPEECH_MODEL | tar -C ~/DeepSpeech/ -xzvf - && wget -O - $DEEPSPEECH_AUDIO | tar -C ~/DeepSpeech/ -xzvf - " > /tmp/clone.sh && chmod +x /tmp/clone.sh &&
|
echo -e "#!/bin/bash\nset -xe\n env && id && mkdir ~/DeepSpeech/ && git clone --quiet $EXAMPLES_CLONE_URL ~/DeepSpeech/examples && cd ~/DeepSpeech/examples && git checkout --quiet $EXAMPLES_CHECKOUT_TARGET && git clone --quiet ${event.head.repo.url} ~/DeepSpeech/ds/ && cd ~/DeepSpeech/ds && git checkout --quiet ${event.head.sha} && wget -O - $DEEPSPEECH_MODEL | tar -C ~/DeepSpeech/ -xzvf - && wget -O - $DEEPSPEECH_AUDIO | tar -C ~/DeepSpeech/ -xzvf - " > /tmp/clone.sh && chmod +x /tmp/clone.sh &&
|
||||||
sudo -H -u ${system.username} /bin/bash /tmp/clone.sh &&
|
sudo -H -u ${system.username} /bin/bash /tmp/clone.sh &&
|
||||||
sudo -H -u ${system.username} --preserve-env /bin/bash ${build.args.tests_cmdline}
|
sudo -H -u ${system.username} --preserve-env /bin/bash ${build.args.tests_cmdline}
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ build:
|
|||||||
>
|
>
|
||||||
apt-get -qq -y install ffmpeg
|
apt-get -qq -y install ffmpeg
|
||||||
args:
|
args:
|
||||||
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/examples/ffmpeg_vad_streaming/test.sh"
|
tests_cmdline: "${system.homedir.linux}/DeepSpeech/examples/ffmpeg_vad_streaming/test.sh"
|
||||||
metadata:
|
metadata:
|
||||||
name: "DeepSpeech examples: ffmpeg VAD Streaming NodeJS v10.x"
|
name: "DeepSpeech examples: ffmpeg VAD Streaming NodeJS v10.x"
|
||||||
description: "DeepSpeech examples: ffmpeg VAD Streaming NodeJS v10.x"
|
description: "DeepSpeech examples: ffmpeg VAD Streaming NodeJS v10.x"
|
||||||
|
@ -7,7 +7,7 @@ build:
|
|||||||
>
|
>
|
||||||
apt-get -qq -y install ffmpeg
|
apt-get -qq -y install ffmpeg
|
||||||
args:
|
args:
|
||||||
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/examples/ffmpeg_vad_streaming/test.sh"
|
tests_cmdline: "${system.homedir.linux}/DeepSpeech/examples/ffmpeg_vad_streaming/test.sh"
|
||||||
metadata:
|
metadata:
|
||||||
name: "DeepSpeech examples: ffmpeg VAD Streaming NodeJS v8.x"
|
name: "DeepSpeech examples: ffmpeg VAD Streaming NodeJS v8.x"
|
||||||
description: "DeepSpeech examples: ffmpeg VAD Streaming NodeJS v8.x"
|
description: "DeepSpeech examples: ffmpeg VAD Streaming NodeJS v8.x"
|
||||||
|
@ -7,7 +7,7 @@ build:
|
|||||||
>
|
>
|
||||||
apt-get -qq -y install portaudio19-dev pulseaudio
|
apt-get -qq -y install portaudio19-dev pulseaudio
|
||||||
args:
|
args:
|
||||||
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/examples/mic_vad_streaming/test.sh 3.6.0:m"
|
tests_cmdline: "${system.homedir.linux}/DeepSpeech/examples/mic_vad_streaming/test.sh 3.6.0:m"
|
||||||
metadata:
|
metadata:
|
||||||
name: "DeepSpeech examples: mic VAD streaming Py3.6"
|
name: "DeepSpeech examples: mic VAD streaming Py3.6"
|
||||||
description: "DeepSpeech examples: mic VAD streaming Python 3.6"
|
description: "DeepSpeech examples: mic VAD streaming Python 3.6"
|
||||||
|
@ -7,7 +7,7 @@ build:
|
|||||||
>
|
>
|
||||||
apt-get -qq -y install portaudio19-dev pulseaudio
|
apt-get -qq -y install portaudio19-dev pulseaudio
|
||||||
args:
|
args:
|
||||||
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/examples/mic_vad_streaming/test.sh 3.7.0:m"
|
tests_cmdline: "${system.homedir.linux}/DeepSpeech/examples/mic_vad_streaming/test.sh 3.7.0:m"
|
||||||
metadata:
|
metadata:
|
||||||
name: "DeepSpeech examples: mic VAD streaming Py3.7"
|
name: "DeepSpeech examples: mic VAD streaming Py3.7"
|
||||||
description: "DeepSpeech examples: mic VAD streaming Python 3.7"
|
description: "DeepSpeech examples: mic VAD streaming Python 3.7"
|
||||||
|
@ -7,7 +7,7 @@ build:
|
|||||||
>
|
>
|
||||||
apt-get -qq -y install portaudio19-dev pulseaudio
|
apt-get -qq -y install portaudio19-dev pulseaudio
|
||||||
args:
|
args:
|
||||||
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/examples/mic_vad_streaming/test.sh 3.8.0:"
|
tests_cmdline: "${system.homedir.linux}/DeepSpeech/examples/mic_vad_streaming/test.sh 3.8.0:"
|
||||||
metadata:
|
metadata:
|
||||||
name: "DeepSpeech examples: mic VAD streaming Py3.8"
|
name: "DeepSpeech examples: mic VAD streaming Py3.8"
|
||||||
description: "DeepSpeech examples: mic VAD streaming Python 3.8"
|
description: "DeepSpeech examples: mic VAD streaming Python 3.8"
|
||||||
|
@ -4,7 +4,7 @@ build:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- "linux-amd64-cpu-opt"
|
- "linux-amd64-cpu-opt"
|
||||||
args:
|
args:
|
||||||
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/examples/nodejs_wav/test.sh"
|
tests_cmdline: "${system.homedir.linux}/DeepSpeech/examples/nodejs_wav/test.sh"
|
||||||
metadata:
|
metadata:
|
||||||
name: "DeepSpeech examples: NodeJS WAV NodeJS v10.x"
|
name: "DeepSpeech examples: NodeJS WAV NodeJS v10.x"
|
||||||
description: "DeepSpeech examples: NodeJS WAV NodeJS v10.x"
|
description: "DeepSpeech examples: NodeJS WAV NodeJS v10.x"
|
||||||
|
@ -4,7 +4,7 @@ build:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- "linux-amd64-cpu-opt"
|
- "linux-amd64-cpu-opt"
|
||||||
args:
|
args:
|
||||||
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/examples/nodejs_wav/test.sh"
|
tests_cmdline: "${system.homedir.linux}/DeepSpeech/examples/nodejs_wav/test.sh"
|
||||||
metadata:
|
metadata:
|
||||||
name: "DeepSpeech examples: NodeJS WAV NodeJS v8.x"
|
name: "DeepSpeech examples: NodeJS WAV NodeJS v8.x"
|
||||||
description: "DeepSpeech examples: NodeJS WAV NodeJS v8.x"
|
description: "DeepSpeech examples: NodeJS WAV NodeJS v8.x"
|
||||||
|
@ -4,7 +4,7 @@ build:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- "linux-amd64-cpu-opt"
|
- "linux-amd64-cpu-opt"
|
||||||
args:
|
args:
|
||||||
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/examples/vad_transcriber/test.sh 3.5.0:m"
|
tests_cmdline: "${system.homedir.linux}/DeepSpeech/examples/vad_transcriber/test.sh 3.5.0:m"
|
||||||
metadata:
|
metadata:
|
||||||
name: "DeepSpeech examples: VAD transcriber Py3.5"
|
name: "DeepSpeech examples: VAD transcriber Py3.5"
|
||||||
description: "DeepSpeech examples: VAD transcriberaming Python 3.5"
|
description: "DeepSpeech examples: VAD transcriberaming Python 3.5"
|
||||||
|
@ -4,7 +4,7 @@ build:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- "linux-amd64-cpu-opt"
|
- "linux-amd64-cpu-opt"
|
||||||
args:
|
args:
|
||||||
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/examples/vad_transcriber/test.sh 3.6.0:m"
|
tests_cmdline: "${system.homedir.linux}/DeepSpeech/examples/vad_transcriber/test.sh 3.6.0:m"
|
||||||
metadata:
|
metadata:
|
||||||
name: "DeepSpeech examples: VAD transcriber Py3.6"
|
name: "DeepSpeech examples: VAD transcriber Py3.6"
|
||||||
description: "DeepSpeech examples: VAD transcriberaming Python 3.6"
|
description: "DeepSpeech examples: VAD transcriberaming Python 3.6"
|
||||||
|
@ -4,7 +4,7 @@ build:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- "linux-amd64-cpu-opt"
|
- "linux-amd64-cpu-opt"
|
||||||
args:
|
args:
|
||||||
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/examples/vad_transcriber/test.sh 3.7.0:m"
|
tests_cmdline: "${system.homedir.linux}/DeepSpeech/examples/vad_transcriber/test.sh 3.7.0:m"
|
||||||
metadata:
|
metadata:
|
||||||
name: "DeepSpeech examples: VAD transcriber Py3.7"
|
name: "DeepSpeech examples: VAD transcriber Py3.7"
|
||||||
description: "DeepSpeech examples: VAD transcriberaming Python 3.7"
|
description: "DeepSpeech examples: VAD transcriberaming Python 3.7"
|
||||||
|
@ -4,7 +4,7 @@ build:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- "linux-amd64-cpu-opt"
|
- "linux-amd64-cpu-opt"
|
||||||
args:
|
args:
|
||||||
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/examples/vad_transcriber/test.sh 3.8.0:"
|
tests_cmdline: "${system.homedir.linux}/DeepSpeech/examples/vad_transcriber/test.sh 3.8.0:"
|
||||||
metadata:
|
metadata:
|
||||||
name: "DeepSpeech examples: VAD transcriber Py3.8"
|
name: "DeepSpeech examples: VAD transcriber Py3.8"
|
||||||
description: "DeepSpeech examples: VAD transcriberaming Python 3.8"
|
description: "DeepSpeech examples: VAD transcriberaming Python 3.8"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user