From dabe4aebd4e74d1abebf6c809bb0261135493c50 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Wed, 12 Feb 2025 06:08:18 -0500 Subject: [PATCH] Install llama.cpp for mac and nocontainer tests Signed-off-by: Daniel J Walsh --- .github/workflows/ci.yml | 10 ++++++++-- test/system/030-run.bats | 4 ---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f8787869..7ae99f42 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,8 +60,14 @@ jobs: shell: bash run: | sudo apt-get update - sudo apt-get install podman bats bash codespell python3-argcomplete pipx + sudo apt-get install podman bats bash codespell python3-argcomplete pipx git cmake make install-requirements + git clone https://github.com/ggerganov/llama.cpp + cd llama.cpp + git submodule update --init --recursive + cmake -B build -DGGML_NATIVE=OFF + cmake --build build --config Release + sudo cmake --install build - name: Upgrade to podman 5 run: | @@ -134,7 +140,7 @@ jobs: - name: install golang shell: bash run: | - brew install go bats bash jq + brew install go bats bash jq llama.cpp make install-requirements - name: Run a one-line script shell: bash diff --git a/test/system/030-run.bats b/test/system/030-run.bats index 75cd2d0b..6ea86c0a 100755 --- a/test/system/030-run.bats +++ b/test/system/030-run.bats @@ -69,10 +69,6 @@ load helpers } @test "ramalama run --keepalive" { - # FIXME: the following skips can be removed, once we install llama-run on - # test systems. - skip_if_nocontainer - skip_if_darwin run_ramalama 124 run --keepalive 1s tiny }