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:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user