Skip to content

Commit b33224b

Browse files
committed
ci: add ccache
Signed-off-by: mudler <mudler@localai.io>
1 parent 3e53f45 commit b33224b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Dependencies
3030
run: |
3131
sudo apt-get update
32-
sudo apt-get install build-essential ffmpeg protobuf-compiler
32+
sudo apt-get install build-essential ffmpeg protobuf-compiler ccache
3333
- name: Install CUDA Dependencies
3434
run: |
3535
curl -O https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.1-1_all.deb
@@ -86,7 +86,7 @@ jobs:
8686
cache: false
8787
- name: Dependencies
8888
run: |
89-
sudo apt-get install -y --no-install-recommends libopencv-dev protobuf-compiler
89+
sudo apt-get install -y --no-install-recommends libopencv-dev protobuf-compiler ccache
9090
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
9191
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
9292
- name: Build stablediffusion

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ ARG GO_TAGS="stablediffusion tinydream tts"
1919
RUN apt-get update && \
2020
apt-get install -y --no-install-recommends \
2121
build-essential \
22+
ccache \
2223
ca-certificates \
2324
cmake \
2425
curl \

0 commit comments

Comments
 (0)