1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/.github/actions/brew/action.yml
Ilija Tovilo 13f0fd9392 Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4:
  Make brew verbose, limit to 10 minutes
2026-02-03 14:50:14 +01:00

37 lines
888 B
YAML

name: brew
runs:
using: composite
steps:
- shell: bash
run: |
set -x
# Patch brew to overwrite always
formula_installer="$(brew --repo)"/Library/Homebrew/formula_installer.rb
code=" keg.link\(verbose: verbose\?"
sudo sed -Ei '' "s/$code.*/$code, overwrite: true\)/" "$formula_installer"
# Some packages exist on x86 but not arm, or vice versa.
# Install them with reinstall to avoid warnings.
brew reinstall -v \
autoconf \
webp \
tidy-html5 \
libzip \
libsodium \
icu4c \
curl
brew install -v \
bison \
re2c
brew install -v \
bzip2 \
enchant \
libffi \
intltool \
libiconv \
t1lib \
libxml2 \
libjpeg \
libxslt