mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 20:29:23 +00:00
Correct how macOS 13 and 14 have different homebrew paths
This commit is contained in:
@@ -43,7 +43,9 @@ runs:
|
|||||||
choco install protoc
|
choco install protoc
|
||||||
elif [ "$RUNNER_OS" == "macOS" ]; then
|
elif [ "$RUNNER_OS" == "macOS" ]; then
|
||||||
brew install protobuf llvm
|
brew install protobuf llvm
|
||||||
ls /opt/homebrew/opt/llvm/lib | grep "libclang.dylib" # Make sure this installed `libclang`
|
HOMEBREW_ROOT_PATH=/opt/homebrew
|
||||||
|
if [ $(uname -r | awk -F "." '{ print $1 }') -eq "13" ]; then HOMEBREW_ROOT_PATH=/usr/local; fi
|
||||||
|
ls $HOMEBREW_ROOT_PATH/opt/llvm/lib | grep "libclang.dylib" # Make sure this installed `libclang`
|
||||||
echo "DYLD_LIBRARY_PATH=/opt/homebrew/opt/llvm/lib:$DYLD_LIBRARY_PATH" >> "$GITHUB_ENV"
|
echo "DYLD_LIBRARY_PATH=/opt/homebrew/opt/llvm/lib:$DYLD_LIBRARY_PATH" >> "$GITHUB_ENV"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user