]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
ci : add paths to build.yml (#3333)
authorDaniel Bevenius <redacted>
Thu, 24 Jul 2025 14:04:21 +0000 (16:04 +0200)
committerGitHub <redacted>
Thu, 24 Jul 2025 14:04:21 +0000 (16:04 +0200)
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

.github/workflows/build.yml

index 0e80bdfae781fc66d9c1a9f57abe753e6e4a6383..565f1985dd7293d6aa520aa5f6fd3de839833084 100644 (file)
@@ -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: