@@ -160,66 +160,6 @@ jobs:
160160 path : llama-${{ steps.tag.outputs.name }}-bin-macos-x64.zip
161161 name : llama-bin-macos-x64.zip
162162
163- ubuntu-focal-make :
164- runs-on : ubuntu-20.04
165- env :
166- LLAMA_NODE_AVAILABLE : true
167- LLAMA_PYTHON_AVAILABLE : true
168-
169- steps :
170- - name : Clone
171- id : checkout
172- uses : actions/checkout@v4
173-
174- - name : Dependencies
175- id : depends
176- run : |
177- sudo apt-get update
178- sudo apt-get install build-essential gcc-8
179-
180- - uses : actions/setup-node@v4
181- with :
182- node-version : " 20"
183-
184- - uses : actions/setup-python@v5
185- with :
186- python-version : " 3.11"
187-
188- - name : Build
189- id : make_build
190- env :
191- LLAMA_FATAL_WARNINGS : 1
192- run : |
193- CC=gcc-8 make -j $(nproc)
194-
195- - name : Test
196- id : make_test
197- run : |
198- CC=gcc-8 make tests -j $(nproc)
199- make test -j $(nproc)
200-
201- ubuntu-focal-make-curl :
202- runs-on : ubuntu-20.04
203-
204- steps :
205- - name : Clone
206- id : checkout
207- uses : actions/checkout@v4
208-
209- - name : Dependencies
210- id : depends
211- run : |
212- sudo apt-get update
213- sudo apt-get install build-essential gcc-8 libcurl4-openssl-dev
214-
215- - name : Build
216- id : make_build
217- env :
218- LLAMA_FATAL_WARNINGS : 1
219- LLAMA_CURL : 1
220- run : |
221- CC=gcc-8 make -j $(nproc)
222-
223163 ubuntu-latest-cmake :
224164 runs-on : ubuntu-latest
225165
@@ -517,36 +457,6 @@ jobs:
517457 cmake -DGGML_SYCL=ON -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx -DGGML_SYCL_F16=ON ..
518458 cmake --build . --config Release -j $(nproc)
519459
520- # TODO: build with GGML_NO_METAL because test-backend-ops fail on "Apple Paravirtual device" and I don't know
521- # how to debug it.
522- # ref: https://github.com/ggerganov/llama.cpp/actions/runs/7131777249/job/19420981052#step:5:1124
523- macOS-latest-make :
524- runs-on : macos-latest
525-
526- steps :
527- - name : Clone
528- id : checkout
529- uses : actions/checkout@v4
530-
531- - name : Dependencies
532- id : depends
533- continue-on-error : true
534- run : |
535- brew update
536-
537- - name : Build
538- id : make_build
539- env :
540- LLAMA_FATAL_WARNINGS : 1
541- run : |
542- GGML_NO_METAL=1 make -j $(sysctl -n hw.logicalcpu)
543-
544- - name : Test
545- id : make_test
546- run : |
547- GGML_NO_METAL=1 make tests -j $(sysctl -n hw.logicalcpu)
548- GGML_NO_METAL=1 make test -j $(sysctl -n hw.logicalcpu)
549-
550460 # TODO: build with GGML_METAL=OFF because test-backend-ops fail on "Apple Paravirtual device" and I don't know
551461 # how to debug it.
552462 # ref: https://github.com/ggerganov/llama.cpp/actions/runs/7132125951/job/19422043567?pr=4359#step:5:6584
@@ -695,21 +605,6 @@ jobs:
695605 mingw-w64-${{matrix.env}}-cmake
696606 mingw-w64-${{matrix.env}}-openblas
697607
698- - name : Build using make
699- shell : msys2 {0}
700- run : |
701- make -j $(nproc)
702-
703- - name : Clean after building using make
704- shell : msys2 {0}
705- run : |
706- make clean
707-
708- - name : Build using make w/ OpenBLAS
709- shell : msys2 {0}
710- run : |
711- make GGML_OPENBLAS=1 -j $(nproc)
712-
713608 - name : Build using CMake
714609 shell : msys2 {0}
715610 run : |
@@ -1252,9 +1147,7 @@ jobs:
12521147 runs-on : ubuntu-latest
12531148
12541149 needs :
1255- - ubuntu-focal-make
12561150 - ubuntu-latest-cmake
1257- - macOS-latest-make
12581151 - macOS-latest-cmake
12591152 - windows-latest-cmake
12601153 - windows-2019-cmake-cuda
0 commit comments