Skip to content

support hotwords in C++ #164

support hotwords in C++

support hotwords in C++ #164

name: swift-api-test
on:
push:
branches:
- master
paths:
- '.github/workflows/swift-api-test.yaml'
- '.github/scripts/swift-api-test.sh'
- 'CMakeLists.txt'
- 'cmake/**'
- 'sherpa-ncnn/csrc/*'
- 'sherpa-ncnn/swift-api-examples/*'
- 'build-swift-macos.sh'
pull_request:
branches:
- master
paths:
- '.github/workflows/swift-api-test.yaml'
- '.github/scripts/swift-api-test.sh'
- 'CMakeLists.txt'
- 'cmake/**'
- 'sherpa-ncnn/csrc/*'
- 'sherpa-ncnn/swift-api-examples/*'
- 'build-swift-macos.sh'
concurrency:
group: swift-api-test-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
swift-api-test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Run swift-api-test
shell: bash
run: |
.github/scripts/swift-api-test.sh