Compare commits

...

3 Commits

Author SHA1 Message Date
0e07884fa5 Fix duplicate variable
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2024-08-03 19:57:10 +02:00
9e891aeef3 Replace . with _ for llama variables names
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2024-08-03 19:54:05 +02:00
57dfad90f8 Add llama.cpp on CI
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2024-08-03 19:40:36 +02:00

View File

@ -4,13 +4,9 @@ on:
push:
branches:
- "*"
paths-ignore:
- "**.md"
pull_request:
branches:
- "*"
paths-ignore:
- "**.md"
workflow_dispatch:
jobs:
@ -79,6 +75,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 +96,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 +117,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 +138,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 +160,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 +181,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 +202,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 +223,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 +245,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 +267,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 +288,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 +309,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 +331,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 +352,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 +373,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 +395,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 +416,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 +437,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 +458,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 +479,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 +501,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 +523,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 +545,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 +566,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 +587,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 +608,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 +630,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 +651,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 +673,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 +695,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 +716,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 +738,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 +760,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 +782,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 +804,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "no",
fmt_arg: "",
raylib: "no",
@ -760,6 +826,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 +848,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 +869,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 +890,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 +911,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 +933,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 +954,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 +976,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 +997,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 +1019,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 +1041,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 +1062,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 +1083,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 +1105,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 +1126,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 +1147,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 +1169,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 +1248,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 +1259,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' }}