Add Go API for audio tagging (#1840)

This commit is contained in:
Fangjun Kuang
2025-02-11 12:07:28 +08:00
committed by GitHub
parent 73d7c25233
commit f5bf8c8d4a
11 changed files with 180 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-latest, macos-13, ubuntu-latest, windows-latest]
os: [macos-latest, macos-13, ubuntu-latest, windows-latest, ubuntu-22.04-arm]
steps:
- uses: actions/checkout@v4
@@ -87,7 +87,7 @@ jobs:
make -j2 install
fi
if [[ ${{ matrix.os }} == ubuntu-latest ]]; then
if [[ ${{ matrix.os }} == ubuntu-latest || ${{ matrix.os }} == ubuntu-22.04-arm ]]; then
cp -v ./lib/*.so $upload_dir
cp -v _deps/onnxruntime-src/lib/libonnxruntime*so* $upload_dir
@@ -132,6 +132,15 @@ jobs:
name: ${{ matrix.os }}-libs
path: to-upload/
- name: Test audio tagging
shell: bash
run: |
cd scripts/go/_internal/audio-tagging/
./run.sh
ls -lh
- name: Test Keyword spotting
shell: bash
run: |