Add CI test for Whisper models (#239)

This commit is contained in:
Fangjun Kuang
2023-08-07 19:24:52 +08:00
committed by GitHub
parent 45b9d4ab37
commit f7c05b1570
8 changed files with 155 additions and 16 deletions

View File

@@ -84,6 +84,14 @@ jobs:
file build/bin/sherpa-onnx
readelf -d build/bin/sherpa-onnx
- name: Test offline Whisper
shell: bash
run: |
export PATH=$PWD/build/bin:$PATH
export EXE=sherpa-onnx-offline
.github/scripts/test-offline-whisper.sh
- name: Test offline CTC
shell: bash
run: |

View File

@@ -82,6 +82,14 @@ jobs:
otool -L build/bin/sherpa-onnx
otool -l build/bin/sherpa-onnx
- name: Test offline Whisper
shell: bash
run: |
export PATH=$PWD/build/bin:$PATH
export EXE=sherpa-onnx-offline
.github/scripts/test-offline-whisper.sh
- name: Test offline CTC
shell: bash
run: |

View File

@@ -74,6 +74,14 @@ jobs:
ls -lh ./bin/Release/sherpa-onnx.exe
- name: Test offline Whisper for windows x64
shell: bash
run: |
export PATH=$PWD/build/bin/Release:$PATH
export EXE=sherpa-onnx-offline.exe
.github/scripts/test-offline-whisper.sh
- name: Test offline CTC for windows x64
shell: bash
run: |

View File

@@ -75,6 +75,14 @@ jobs:
ls -lh ./bin/Release/sherpa-onnx.exe
- name: Test offline Whisper for windows x64
shell: bash
run: |
export PATH=$PWD/build/bin/Release:$PATH
export EXE=sherpa-onnx-offline.exe
.github/scripts/test-offline-whisper.sh
- name: Test offline CTC for windows x64
shell: bash
run: |

View File

@@ -73,6 +73,14 @@ jobs:
ls -lh ./bin/Release/sherpa-onnx.exe
- name: Test offline Whisper for windows x86
shell: bash
run: |
export PATH=$PWD/build/bin/Release:$PATH
export EXE=sherpa-onnx-offline.exe
.github/scripts/test-offline-whisper.sh
- name: Test offline CTC for windows x86
shell: bash
run: |