Skip to content

Commit 02fedda

Browse files
authored
Update server builds to late llama.cpp(b2665) (#28)
* update ci
1 parent 90b2bb4 commit 02fedda

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/build.yaml

+9-9
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ on:
77
description: "llama.cpp tag"
88
required: true
99
type: string
10-
default: "b1775"
10+
default: "b2665"
1111
pre-release:
1212
description: "use for pre-release server"
1313
required: false
1414
type: boolean
15-
default: false
15+
default: true
1616

1717
jobs:
1818
build-cmake-linux:
@@ -28,19 +28,19 @@ jobs:
2828
- name: Install dependencies
2929
run: |
3030
sudo apt-get update
31-
sudo apt-get install build-essential
31+
sudo apt-get install build-essential libcurl4-openssl-dev
3232
3333
- name: Build
3434
run: |
3535
mkdir build
3636
cd build
37-
cmake .. -DLLAMA_BUILD_SERVER=ON -DLLAMA_NATIVE=OFF -DLLAMA_STATIC=ON
37+
cmake .. -DLLAMA_BUILD_SERVER=ON -DLLAMA_NATIVE=OFF -DLLAMA_STATIC=ON -DLLAMA_CURL=OFF
3838
cmake --build . --config Release --parallel $(nproc)
3939
4040
- name: Test
4141
run: |
4242
cd build
43-
ctest --verbose --timeout 900
43+
ctest -L 'main' --verbose --timeout 900
4444
4545
- name: Upload Artifact
4646
uses: actions/upload-artifact@v4
@@ -62,7 +62,7 @@ jobs:
6262
- name: Install dependencies
6363
run: |
6464
sudo apt-get update
65-
sudo apt-get install build-essential
65+
sudo apt-get install build-essential libcurl4-openssl-dev
6666
6767
- name: Install cuda-toolkit
6868
run: |
@@ -73,7 +73,7 @@ jobs:
7373
run: |
7474
mkdir build
7575
cd build
76-
cmake .. -DLLAMA_BUILD_SERVER=ON -DLLAMA_NATIVE=OFF -DLLAMA_CUBLAS=ON
76+
cmake .. -DLLAMA_BUILD_SERVER=ON -DLLAMA_NATIVE=OFF -DLLAMA_CUBLAS=ON -DLLAMA_CURL=OFF
7777
cmake --build . --config Release --parallel $(nproc)
7878
7979
- name: Upload Artifact
@@ -103,7 +103,7 @@ jobs:
103103
- name: Test
104104
run: |
105105
cd build
106-
ctest -C Release --verbose --timeout 900
106+
ctest -L 'main' -C Release --verbose --timeout 900
107107
108108
- name: Upload Artifact
109109
uses: actions/upload-artifact@v4
@@ -169,7 +169,7 @@ jobs:
169169
id: cmake_test
170170
run: |
171171
cd build
172-
ctest --verbose --timeout 900
172+
ctest -L 'main' --verbose --timeout 900
173173
174174
- name: Upload Artifact
175175
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)