Update Homebrew setup for libraries on Mac

Replaced Homebrew formula modifications with direct curl downloads for boost and icu4c.
This commit is contained in:
Rudokhvist
2025-12-22 10:16:36 +02:00
committed by GitHub
parent a8f256aaa0
commit 79257f9f9c

View File

@@ -43,10 +43,6 @@ jobs:
if: startsWith(matrix.os, 'macos-')
run: |
brew update
brew search boost
export HOMEBREW_NO_INSTALL_FROM_API=1
sed -i '' -e 's/disable!/#disable!/' /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/b/boost@1.76.rb
sed -i '' -e 's/disable!/#disable!/' /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/i/icu4c@74.rb
brew install \
boost@1.76 \
automake \
@@ -55,6 +51,10 @@ jobs:
tbb \
texinfo \
zlib
curl https://github.com/Homebrew/homebrew-core/raw/72f14902bf77c8aa5bc416378312b194c1106d25/Formula/i/icu4c@74.rb > icu4c.rb
curl https://github.com/Homebrew/homebrew-core/raw/aba405a30fa1a608a12adeb56bea8e1c5975a42d/Formula/b/boost@1.76.rb > boost.rb
HOMEBREW_DEVELOPER=true brew install --formulae icu4c.rb
HOMEBREW_DEVELOPER=true brew install --formulae boost.rb
- name: Setup PkgConfig
if: startsWith(matrix.os, 'windows-')