Add C++ API for streaming ASR. (#1455)
It is a wrapper around the C API.
This commit is contained in:
14
.github/workflows/macos.yaml
vendored
14
.github/workflows/macos.yaml
vendored
@@ -19,6 +19,8 @@ on:
|
||||
- '.github/scripts/test-offline-punctuation.sh'
|
||||
- '.github/scripts/test-online-punctuation.sh'
|
||||
- '.github/scripts/test-speaker-diarization.sh'
|
||||
- '.github/scripts/test-c-api.sh'
|
||||
- '.github/scripts/test-cxx-api.sh'
|
||||
- 'CMakeLists.txt'
|
||||
- 'cmake/**'
|
||||
- 'sherpa-onnx/csrc/*'
|
||||
@@ -39,6 +41,8 @@ on:
|
||||
- '.github/scripts/test-offline-punctuation.sh'
|
||||
- '.github/scripts/test-online-punctuation.sh'
|
||||
- '.github/scripts/test-speaker-diarization.sh'
|
||||
- '.github/scripts/test-c-api.sh'
|
||||
- '.github/scripts/test-cxx-api.sh'
|
||||
- 'CMakeLists.txt'
|
||||
- 'cmake/**'
|
||||
- 'sherpa-onnx/csrc/*'
|
||||
@@ -117,6 +121,16 @@ jobs:
|
||||
otool -L build/bin/sherpa-onnx
|
||||
otool -l build/bin/sherpa-onnx
|
||||
|
||||
- name: Test C++ API
|
||||
shell: bash
|
||||
run: |
|
||||
du -h -d1 .
|
||||
export PATH=$PWD/build/bin:$PATH
|
||||
export CXX_STREAMING_ZIPFORMER_EXE=streaming-zipformer-cxx-api
|
||||
|
||||
.github/scripts/test-cxx-api.sh
|
||||
du -h -d1 .
|
||||
|
||||
- name: Test offline speaker diarization
|
||||
shell: bash
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user