Add /usr/local/opt/llvm/lib to paths on macOS hosts

This commit is contained in:
Luke Parker
2025-09-21 23:17:11 -04:00
parent 9a08ffde09
commit 9fa7a08c1a

View File

@@ -41,6 +41,8 @@ runs:
sudo apt install -y ca-certificates protobuf-compiler libclang-dev
elif [ "$RUNNER_OS" == "Windows" ]; then
choco install protoc llvm
echo "LIBCLANG_PATH=/usr/local/opt/llvm/lib" >> $GITHUB_ENV
echo "DYLD_LIBRARY_PATH=/usr/local/opt/llvm/lib:$DYLD_LIBRARY_PATH" >> $GITHUB_ENV
elif [ "$RUNNER_OS" == "macOS" ]; then
brew install protobuf llvm
fi