Build the bundle only for what the bundle is built from

The trigger listed dikte/ggml.py, both test files and the two READMEs,
which are among the files that change most often. A typo fix in the
README started a run that builds a container image, compiles every
Vulkan shader and starts two more containers, with a 45 minute timeout
on it because that is roughly what it costs.

Nothing is lost. What ties ggml.py to the release, the tag, version,
commit and reviewed digest, is asserted in tests/test_packaging.py, and
that file already runs on every pull request in milliseconds.
This commit is contained in:
2026-09-05 09:37:08 +03:00
parent 59180b8eff
commit c3bf328eef
2 changed files with 15 additions and 9 deletions
+4 -5
View File
@@ -1,15 +1,14 @@
name: whisper.cpp Vulkan bundle
# Only what the bundle is built from. Compiling the Vulkan shaders takes
# tens of minutes, and a README typo is not worth one: what ties ggml.py to
# this release is a handful of assertions in tests/test_packaging.py, and
# those run on every pull request in milliseconds.
on:
pull_request:
paths:
- packaging/whisper-vulkan/**
- .github/workflows/whisper-vulkan.yml
- dikte/ggml.py
- tests/test_ggml.py
- tests/test_packaging.py
- README.md
- README.tr.md
workflow_dispatch:
inputs:
whisper_version: