Skip to content

Commit 79f9587

Browse files
authored
ci: run CPU tests on master branch
Signed-off-by: Ettore Di Giacinto <[email protected]>
1 parent 8173a5b commit 79f9587

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/test.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: CI
2-
on: [pull_request]
3-
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- master
7+
tags:
8+
- '*'
49
jobs:
510
ubuntu-latest:
611
runs-on: ubuntu-latest
@@ -68,4 +73,4 @@ jobs:
6873
- name: Test
6974
run: |
7075
CMAKE_ARGS="-DLLAMA_F16C=OFF -DLLAMA_AVX512=OFF -DLLAMA_AVX2=OFF -DLLAMA_FMA=OFF" make BUILD_TYPE=metal test
71-
CGO_LDFLAGS="-framework Foundation -framework Metal -framework MetalKit -framework MetalPerformanceShaders" LIBRARY_PATH=$PWD C_INCLUDE_PATH=$PWD go build -o testbuild ./examples
76+
CGO_LDFLAGS="-framework Foundation -framework Metal -framework MetalKit -framework MetalPerformanceShaders" LIBRARY_PATH=$PWD C_INCLUDE_PATH=$PWD go build -o testbuild ./examples

0 commit comments

Comments
 (0)