Skip to content

Commit 0b127ca

Browse files
committed
ci : extract vad job to vad.yml
1 parent f9a9d39 commit 0b127ca

2 files changed

Lines changed: 44 additions & 18 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ on:
4444
- '.github/workflows/build-android.yml' # handled by build-android.yml
4545
- '.github/workflows/quantize.yml' # handled by quantize.yml
4646
- '.github/workflows/coreml.yml' # handled by coreml.yml
47+
- '.github/workflows/vad.yml' # handled by vad.yml
4748

4849
concurrency:
4950
group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}
@@ -72,24 +73,6 @@ jobs:
7273
# cmake -B build
7374
# cmake --build build --config Release
7475

75-
vad:
76-
runs-on: ubuntu-latest
77-
78-
steps:
79-
- name: Checkout
80-
uses: actions/checkout@v6
81-
82-
- name: Build
83-
shell: bash
84-
run: |
85-
cmake -B build
86-
cmake --build build --config Release
87-
88-
- name: Test
89-
shell: bash
90-
run: |
91-
ctest -R ^test-vad$ --test-dir build --output-on-failure -VV
92-
9376
# TODO: simplify the following workflows using a matrix
9477
ggml-ci-x64-cpu-low-perf:
9578
runs-on: ubuntu-22.04

.github/workflows/vad.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: CI (vad)
2+
3+
on:
4+
workflow_dispatch: # allows manual triggering
5+
push:
6+
branches:
7+
- master
8+
paths: ['.github/workflows/vad.yml',
9+
'**/CMakeLists.txt',
10+
'**/*.h',
11+
'**/*.hpp',
12+
'**/*.c',
13+
'**/*.cpp']
14+
15+
pull_request:
16+
types: [opened, synchronize, reopened]
17+
paths-ignore:
18+
- 'bindings/ruby/**' # handled by bindings-ruby.yml
19+
- 'bindings/go/**' # handled by bindings-go.yml
20+
- 'examples/addon.node/**' # handled by examples.yml
21+
22+
concurrency:
23+
group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}
24+
cancel-in-progress: true
25+
26+
jobs:
27+
vad:
28+
runs-on: ubuntu-latest
29+
30+
steps:
31+
- name: Checkout
32+
uses: actions/checkout@v6
33+
34+
- name: Build
35+
shell: bash
36+
run: |
37+
cmake -B build
38+
cmake --build build --config Release
39+
40+
- name: Test
41+
shell: bash
42+
run: |
43+
ctest -R ^test-vad$ --test-dir build --output-on-failure -VV

0 commit comments

Comments
 (0)