Skip to content

Commit

Permalink
tests: install grpc with apt
Browse files Browse the repository at this point in the history
  • Loading branch information
mudler committed Dec 20, 2023
1 parent 5dbfa11 commit 4fbc1bb
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,7 @@ jobs:
# Pre-build stable diffusion before we install a newer version of abseil (not compatible with stablediffusion-ncn)
GO_TAGS="stablediffusion tts" GRPC_BACKENDS=backend-assets/grpc/stablediffusion make build
git clone --recurse-submodules -b v1.58.0 --depth 1 --shallow-submodules https://github.com/grpc/grpc && \
cd grpc && mkdir -p cmake/build && cd cmake/build && cmake -DgRPC_INSTALL=ON \
-DgRPC_BUILD_TESTS=OFF \
../.. && sudo make -j12 install
sudo apt-get install -y libgrpc++-dev libgrpc++1 libgrpc-dev protobuf-compiler-grpc
- name: Test
run: |
GO_TAGS="stablediffusion tts" make test
Expand Down

0 comments on commit 4fbc1bb

Please sign in to comment.