chore: update CI workflow to include gRPC installation on macOS

- Added gRPC installation to the macOS section of the CI workflow, ensuring that the necessary dependencies are available for builds.
- Updated the GitHub path to include the gRPC prefix, improving accessibility for subsequent build steps.

Benefits:
- Enhances the CI process by ensuring all required tools are installed, leading to more reliable builds.
This commit is contained in:
scawful
2025-10-23 13:50:02 -04:00
parent ef1796aa1c
commit c0f31131e2

View File

@@ -269,9 +269,11 @@ jobs:
sudo apt-get update
sudo apt-get install -y $(tr '\n' ' ' < .github/workflows/scripts/linux-ci-packages.txt) ${{ matrix.cc }} ${{ matrix.cxx }}
elif [[ "${{ runner.os }}" == "macOS" ]]; then
brew install llvm@18 ninja pkg-config ccache
brew install llvm@18 ninja pkg-config ccache grpc
LLVM_PREFIX=$(brew --prefix llvm@18)
echo "$LLVM_PREFIX/bin" >> $GITHUB_PATH
GRPC_PREFIX=$(brew --prefix grpc)
echo "$GRPC_PREFIX/bin" >> $GITHUB_PATH
fi
- name: Retry Dependencies (Unix)