Add C API for speaker embedding extractor. (#711)
This commit is contained in:
3
.github/workflows/linux.yaml
vendored
3
.github/workflows/linux.yaml
vendored
@@ -124,11 +124,12 @@ jobs:
|
||||
name: release-${{ matrix.build_type }}-with-shared-lib-${{ matrix.shared_lib }}-with-tts-${{ matrix.with_tts }}
|
||||
path: build/bin/*
|
||||
|
||||
- name: Test spoken language identification (C API)
|
||||
- name: Test C API
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH=$PWD/build/bin:$PATH
|
||||
export SLID_EXE=spoken-language-identification-c-api
|
||||
export SID_EXE=speaker-identification-c-api
|
||||
|
||||
.github/scripts/test-c-api.sh
|
||||
|
||||
|
||||
3
.github/workflows/macos.yaml
vendored
3
.github/workflows/macos.yaml
vendored
@@ -103,11 +103,12 @@ jobs:
|
||||
otool -L build/bin/sherpa-onnx
|
||||
otool -l build/bin/sherpa-onnx
|
||||
|
||||
- name: Test spoken language identification (C API)
|
||||
- name: Test C API
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH=$PWD/build/bin:$PATH
|
||||
export SLID_EXE=spoken-language-identification-c-api
|
||||
export SID_EXE=speaker-identification-c-api
|
||||
|
||||
.github/scripts/test-c-api.sh
|
||||
|
||||
|
||||
3
.github/workflows/windows-x64.yaml
vendored
3
.github/workflows/windows-x64.yaml
vendored
@@ -70,11 +70,12 @@ jobs:
|
||||
|
||||
ls -lh ./bin/Release/sherpa-onnx.exe
|
||||
|
||||
- name: Test spoken language identification (C API)
|
||||
- name: Test C API
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH=$PWD/build/bin/Release:$PATH
|
||||
export SLID_EXE=spoken-language-identification-c-api.exe
|
||||
export SID_EXE=speaker-identification-c-api.exe
|
||||
|
||||
.github/scripts/test-c-api.sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user