Add llama.cpp on CI

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
Bensuperpc 2024-08-03 19:40:36 +02:00 committed by Jonas Vautherin
parent 24fa6a0962
commit 26baad281a

View File

@ -79,6 +79,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "no",
fmt_arg: "",
raylib: "no",
@ -98,6 +100,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "no",
fmt_arg: "",
raylib: "no",
@ -117,6 +121,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "no",
fmt_arg: "",
raylib: "no",
@ -136,6 +142,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "no",
fmt_arg: "",
raylib: "no",
@ -156,6 +164,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
llama.cpp: "yes",
llama.cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -175,6 +185,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -194,6 +206,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -213,6 +227,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -233,6 +249,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -253,6 +271,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -272,6 +292,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -291,6 +313,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -311,6 +335,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -330,6 +356,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -349,6 +377,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -369,6 +399,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -388,6 +420,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -407,6 +441,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -426,6 +462,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -445,6 +483,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -465,6 +505,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -485,6 +527,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -505,6 +549,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -524,6 +570,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -543,6 +591,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -562,6 +612,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -582,6 +634,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -601,6 +655,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -621,6 +677,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -641,6 +699,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -660,6 +720,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -680,6 +742,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -700,6 +764,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -720,6 +786,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -740,6 +808,10 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "no",
fmt_arg: "",
raylib: "no",
@ -760,6 +832,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "no",
fmt_arg: "",
raylib: "no",
@ -780,6 +854,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -799,6 +875,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -818,6 +896,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -837,6 +917,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -857,6 +939,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -876,6 +960,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "no",
fmt_arg: "",
raylib: "no",
@ -896,6 +982,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "yes",
@ -915,6 +1003,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "yes",
@ -935,6 +1025,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -955,6 +1047,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -974,6 +1068,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -993,6 +1089,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "no",
fmt_arg: "",
raylib: "no",
@ -1013,6 +1111,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "no",
fmt_arg: "",
raylib: "yes",
@ -1032,6 +1132,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "no",
fmt_arg: "",
raylib: "no",
@ -1051,6 +1153,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "no",
fmt_arg: "",
raylib: "no",
@ -1071,6 +1175,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
llama.cpp: "no",
llama.cpp_arg: "",
fmt: "no",
fmt_arg: "",
raylib: "no",
@ -1148,7 +1254,7 @@ jobs:
cd ..
rm -rf C
# Updated on 12/09/2022
# Updated on 12/09/2022 No longer maintained
- name: C-Plus-Plus build test
if: ${{ matrix.arch_name.C-Plus-Plus == 'yes' }}
run: |
@ -1159,6 +1265,17 @@ jobs:
cd ..
rm -rf C-Plus-Plus
# Updated on 03/08/2024
- name: llama.cpp build test
if: ${{ matrix.arch_name.llama.cpp == 'yes' }}
run: |
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
git checkout 76614f352e94d25659306d9e97321f204e5de0d3
./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.llama.cpp_arg }}
cd ..
rm -rf llama.cpp
# Updated on 12/09/2022
- name: fmt build test
if: ${{ matrix.arch_name.fmt == 'yes' }}