Skip to content

Commit 798695f

Browse files
committed
ci : add job to test VAD
This commit adds a job to the CI pipeline to test the VAD model. This will only test the VAD model in isolation, that is it does not test whisper_full.
1 parent cd05141 commit 798695f

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/build.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1223,3 +1223,23 @@ jobs:
12231223
source venv/bin/activate
12241224
pip install ane_transformers openai-whisper coremltools
12251225
./models/generate-coreml-model.sh ${{ env.MODEL_NAME }}
1226+
1227+
vad:
1228+
if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' ||
1229+
github.event.inputs.run_type == 'full-ci' }}
1230+
runs-on: ubuntu-latest
1231+
1232+
steps:
1233+
- name: Checkout
1234+
uses: actions/checkout@v4
1235+
1236+
- name: Build
1237+
shell: bash
1238+
run: |
1239+
cmake -B build
1240+
cmake --build build --config Release
1241+
1242+
- name: Test
1243+
shell: bash
1244+
run: |
1245+
ctest -R ^test-vad$ --test-dir build --output-on-failure -VV

0 commit comments

Comments
 (0)