ci : only trigger release jobs for tags (#3883)
* 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
This commit is contained in:
parent
48f628a848
commit
3805e602d3
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -13,8 +13,6 @@ on:
|
|||
type: string
|
||||
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
tags:
|
||||
- 'v*'
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue