Skip to content

Commit af80a22

Browse files
committed
ci : add ccache to build-vad
1 parent dc8c53c commit af80a22

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/build-vad.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,17 @@ jobs:
3131
- name: Checkout
3232
uses: actions/checkout@v6
3333

34+
- name: ccache
35+
uses: ggml-org/ccache-action@v1.2.21
36+
with:
37+
key: vad-ubuntu-latest
38+
evict-old-files: 1d
39+
save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
40+
3441
- name: Build
3542
shell: bash
3643
run: |
37-
cmake -B build
44+
cmake -B build -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
3845
cmake --build build --config Release
3946
4047
- name: Test

0 commit comments

Comments
 (0)