From: Daniel Bevenius Date: Thu, 24 Jul 2025 14:04:21 +0000 (+0200) Subject: ci : add paths to build.yml (#3333) X-Git-Tag: upstream/1.8.0~381 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=85e474fd557aae2c151773d6d84228c912c3d295;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp 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 --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0e80bdfa..565f1985 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: