Skip to content

Commit 3d207c7

Browse files
committed
add CI workflows
1 parent eaf1543 commit 3d207c7

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/build.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,36 @@ jobs:
340340
cd build
341341
ctest -L main --verbose
342342
343+
ubuntu-latest-cmake-rpc:
344+
runs-on: ubuntu-latest
345+
346+
continue-on-error: true
347+
348+
steps:
349+
- name: Clone
350+
id: checkout
351+
uses: actions/checkout@v4
352+
353+
- name: Dependencies
354+
id: depends
355+
run: |
356+
sudo apt-get update
357+
sudo apt-get install build-essential
358+
359+
- name: Build
360+
id: cmake_build
361+
run: |
362+
mkdir build
363+
cd build
364+
cmake -DLLAMA_RPC=ON ..
365+
cmake --build . --config Release -j $(nproc)
366+
367+
- name: Test
368+
id: cmake_test
369+
run: |
370+
cd build
371+
ctest -L main --verbose
372+
343373
ubuntu-22-cmake-vulkan:
344374
runs-on: ubuntu-22.04
345375

@@ -606,6 +636,8 @@ jobs:
606636
strategy:
607637
matrix:
608638
include:
639+
- build: 'rpc'
640+
defines: '-DLLAMA_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON -DLLAMA_RPC=ON -DBUILD_SHARED_LIBS=ON'
609641
- build: 'noavx'
610642
defines: '-DLLAMA_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON -DLLAMA_AVX=OFF -DLLAMA_AVX2=OFF -DLLAMA_FMA=OFF -DBUILD_SHARED_LIBS=ON'
611643
- build: 'avx2'

0 commit comments

Comments
 (0)