Skip to content

Commit 37c6d01

Browse files
committed
drop grpc install in ci for tests
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
1 parent dc555f4 commit 37c6d01

1 file changed

Lines changed: 3 additions & 18 deletions

File tree

.github/workflows/test.yml

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -100,28 +100,13 @@ jobs:
100100
make sources/go-piper && \
101101
GO_TAGS="tts" make -C sources/go-piper piper.o && \
102102
sudo cp -rfv sources/go-piper/piper-phonemize/pi/lib/. /usr/lib/
103+
104+
make backends/llama-cpp
103105
env:
104106
CUDA_VERSION: 12-4
105-
- name: Cache grpc
106-
id: cache-grpc
107-
uses: actions/cache@v4
108-
with:
109-
path: grpc
110-
key: ${{ runner.os }}-grpc-${{ env.GRPC_VERSION }}
111-
- name: Build grpc
112-
if: steps.cache-grpc.outputs.cache-hit != 'true'
113-
run: |
114-
git clone --recurse-submodules -b ${{ env.GRPC_VERSION }} --depth 1 --jobs 5 --shallow-submodules https://github.com/grpc/grpc && \
115-
cd grpc && sed -i "216i\ TESTONLY" "third_party/abseil-cpp/absl/container/CMakeLists.txt" && mkdir -p cmake/build && cd cmake/build && \
116-
cmake -DgRPC_INSTALL=ON \
117-
-DgRPC_BUILD_TESTS=OFF \
118-
../.. && sudo make --jobs 5
119-
- name: Install gRPC
120-
run: |
121-
cd grpc && cd cmake/build && sudo make --jobs 5 install
122107
- name: Test
123108
run: |
124-
PATH="$PATH:/root/go/bin" GO_TAGS="tts" make --jobs 5 --output-sync=target backends/llama-cpp test
109+
PATH="$PATH:/root/go/bin" GO_TAGS="tts" make --jobs 5 --output-sync=target test
125110
- name: Setup tmate session if tests fail
126111
if: ${{ failure() }}
127112
uses: mxschmitt/action-tmate@v3.22

0 commit comments

Comments
 (0)