Skip to content

Commit 630fdba

Browse files
committed
Add git and small fixups
Signed-off-by: Ettore Di Giacinto <[email protected]>
1 parent 01e75d9 commit 630fdba

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,15 +190,15 @@ jobs:
190190
run: |
191191
make docker-build-llama-cpp
192192
make docker-save-llama-cpp
193-
make build-api
193+
PATH="$PATH:$HOME/go/bin" make build-api
194194
./local-ai backends install "ocifile://$PWD/backend-images/llama-cpp.tar"
195195
- name: Build images
196196
run: |
197197
docker build --build-arg FFMPEG=true --build-arg MAKEFLAGS="--jobs=5 --output-sync=target" -t local-ai:tests -f Dockerfile .
198198
BASE_IMAGE=local-ai:tests DOCKER_AIO_IMAGE=local-ai-aio:test make docker-aio
199199
- name: Test
200200
run: |
201-
PATH="$PATH:$HOME/go/bin" LOCALAI_MODELS_DIR=$PWD/models LOCALAI_IMAGE_TAG=test LOCALAI_IMAGE=local-ai-aio \
201+
PATH="$PATH:$HOME/go/bin" LOCALAI_BACKEND_DIR=$PWD/backends LOCALAI_MODELS_DIR=$PWD/models LOCALAI_IMAGE_TAG=test LOCALAI_IMAGE=local-ai-aio \
202202
make run-e2e-aio
203203
- name: Setup tmate session if tests fail
204204
if: ${{ failure() }}

backend/Dockerfile.llama-cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ ARG GO_VERSION=1.22.6
6666
RUN apt-get update && \
6767
apt-get install -y --no-install-recommends \
6868
build-essential \
69-
ccache \
69+
ccache git \
7070
ca-certificates \
7171
make \
7272
curl unzip \

0 commit comments

Comments
 (0)