mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-08-09 19:38:42 +02:00
ci : add paths to build.yml (#3333)
This commit adds specific paths to the GitHub Actions workflow file `.github/workflows/build.yml`. The motivation for this to avoid unnecessary builds when unrelated files are changed, which can save resources and time during the CI process. Refs: https://github.com/ggml-org/whisper.cpp/issues/3285
This commit is contained in:
19
.github/workflows/build.yml
vendored
19
.github/workflows/build.yml
vendored
@ -6,6 +6,25 @@ on:
|
||||
- master
|
||||
tags:
|
||||
- 'v*'
|
||||
paths: ['.github/workflows/build.yml',
|
||||
'**/CMakeLists.txt',
|
||||
'**/Makefile',
|
||||
'**/*.mk',
|
||||
'**/*.cmake',
|
||||
'**/*.in',
|
||||
'**/*.h',
|
||||
'**/*.hpp',
|
||||
'**/*.c',
|
||||
'**/*.cpp',
|
||||
'**/*.cu',
|
||||
'**/*.cuh',
|
||||
'**/*.cl',
|
||||
'**/*.swift',
|
||||
'**/*.m',
|
||||
'**/*.mm',
|
||||
'**/*.metal',
|
||||
'**/*.comp',
|
||||
'**/*.java']
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened]
|
||||
workflow_dispatch:
|
||||
|
Reference in New Issue
Block a user