]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
ci : only trigger release jobs for tags (#3883)
authorDaniel Bevenius <redacted>
Tue, 16 Jun 2026 12:33:42 +0000 (14:33 +0200)
committerGitHub <redacted>
Tue, 16 Jun 2026 12:33:42 +0000 (14:33 +0200)
* ci : only trigger release jobs for tags

This commit removes the building of the release jobs on pushed to
master.

The motivation for this is that it can be confusing at the momement when
releasing that the push to master also triggers the release jobs but
the actual release will be skipped. With this change the release job is
only run when a tag is pushed which should result in a single Release
github actions job and make it easier to follow.

* ci : add GGML_NATIVE=OFF for ubuntu-22-gcc

.github/workflows/build-gcc.yml
.github/workflows/release.yml

index 3d8b513734442fbc419663e9160ed4c1080d57a0..53c1b2d783c3506eebbfea5fd6127871a572b5c6 100644 (file)
@@ -75,6 +75,7 @@ jobs:
             apt update
             apt install -y build-essential cmake libsdl2-dev git ccache
             cmake . -DWHISPER_SDL2=ON -DCMAKE_BUILD_TYPE=${{ matrix.build }} \
+              -DGGML_NATIVE=OFF \
               -DCMAKE_C_COMPILER_LAUNCHER=ccache \
               -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
             make
index 11d47546caa7ae6bacd4c9769b12dcec937566f3..ef2c3083c9f2fcb7021c2dbc07ee5c29ddf43f2d 100644 (file)
@@ -13,8 +13,6 @@ on:
         type: string
 
   push:
-    branches:
-      - master
     tags:
       - 'v*'