From 90e3c5fc4070154b4d3c16b2f1548f8ae54ceaa8 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Mon, 3 Feb 2025 21:17:33 +0200 Subject: [PATCH] ci : more git --- .devops/cublas.Dockerfile | 2 +- .devops/main-cuda.Dockerfile | 4 ++-- .devops/main.Dockerfile | 4 ++-- .github/workflows/build.yml | 1 + 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.devops/cublas.Dockerfile b/.devops/cublas.Dockerfile index e7e51273..1fae2563 100644 --- a/.devops/cublas.Dockerfile +++ b/.devops/cublas.Dockerfile @@ -12,7 +12,7 @@ FROM ${BASE_CUDA_DEV_CONTAINER} as build ARG CUDA_DOCKER_ARCH=all RUN apt-get update && \ - apt-get install -y build-essential git cmake libsdl2-dev wget + apt-get install -y build-essential git cmake libsdl2-dev wget git WORKDIR /app diff --git a/.devops/main-cuda.Dockerfile b/.devops/main-cuda.Dockerfile index a806fa09..75a395c7 100644 --- a/.devops/main-cuda.Dockerfile +++ b/.devops/main-cuda.Dockerfile @@ -17,7 +17,7 @@ ENV CUDA_DOCKER_ARCH=${CUDA_DOCKER_ARCH} ENV GGML_CUDA=1 RUN apt-get update && \ - apt-get install -y build-essential libsdl2-dev wget cmake \ + apt-get install -y build-essential libsdl2-dev wget cmake git \ && rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/* # Ref: https://stackoverflow.com/a/53464012 @@ -33,7 +33,7 @@ ENV LD_LIBRARY_PATH /usr/local/cuda-${CUDA_MAIN_VERSION}/compat:$LD_LIBRARY_PATH WORKDIR /app RUN apt-get update && \ - apt-get install -y curl ffmpeg wget cmake \ + apt-get install -y curl ffmpeg wget cmake git \ && rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/* COPY --from=build /app /app diff --git a/.devops/main.Dockerfile b/.devops/main.Dockerfile index 066d4c83..e8424126 100644 --- a/.devops/main.Dockerfile +++ b/.devops/main.Dockerfile @@ -2,7 +2,7 @@ FROM ubuntu:22.04 AS build WORKDIR /app RUN apt-get update && \ - apt-get install -y build-essential wget cmake \ + apt-get install -y build-essential wget cmake git \ && rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/* COPY .. . @@ -12,7 +12,7 @@ FROM ubuntu:22.04 AS runtime WORKDIR /app RUN apt-get update && \ - apt-get install -y curl ffmpeg libsdl2-dev wget cmake \ + apt-get install -y curl ffmpeg libsdl2-dev wget cmake git \ && rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/* COPY --from=build /app /app diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2b3f8fef..38cd795e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -393,6 +393,7 @@ jobs: msystem: ${{matrix.sys}} install: >- base-devel + git mingw-w64-${{matrix.env}}-toolchain mingw-w64-${{matrix.env}}-cmake mingw-w64-${{matrix.env}}-SDL2