From 7cf4dac7aef468ad73293c64622872c1e48cd7ef Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Tue, 7 Apr 2026 12:09:30 +0300 Subject: [PATCH] Move Homebrew dependencies into Brewfile (#9546) --- .github/workflows/Brewfile | 13 +++++++++++++ .github/workflows/macos-install.sh | 15 +-------------- .pre-commit-config.yaml | 2 ++ 3 files changed, 16 insertions(+), 14 deletions(-) create mode 100644 .github/workflows/Brewfile diff --git a/.github/workflows/Brewfile b/.github/workflows/Brewfile new file mode 100644 index 000000000..414f04201 --- /dev/null +++ b/.github/workflows/Brewfile @@ -0,0 +1,13 @@ +brew "aom" +brew "dav1d" +brew "freetype" +brew "ghostscript" +brew "jpeg-turbo" +brew "libimagequant" +brew "libraqm" +brew "libtiff" +brew "little-cms2" +brew "openjpeg" +brew "rav1e" +brew "svt-av1" +brew "webp" diff --git a/.github/workflows/macos-install.sh b/.github/workflows/macos-install.sh index 7c768af48..603ef5a23 100755 --- a/.github/workflows/macos-install.sh +++ b/.github/workflows/macos-install.sh @@ -2,20 +2,7 @@ set -e -brew install \ - aom \ - dav1d \ - freetype \ - ghostscript \ - jpeg-turbo \ - libimagequant \ - libraqm \ - libtiff \ - little-cms2 \ - openjpeg \ - rav1e \ - svt-av1 \ - webp +brew bundle --file=.github/workflows/Brewfile export PKG_CONFIG_PATH="/usr/local/opt/openblas/lib/pkgconfig" python3 -m pip install coverage diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 53fd0a3ca..6d36d73cd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -48,6 +48,8 @@ repos: args: [--allow-multiple-documents] - id: end-of-file-fixer exclude: ^Tests/images/ + - id: file-contents-sorter + files: .github/workflows/Brewfile - id: trailing-whitespace exclude: ^\.github/.*TEMPLATE|^Tests/(fonts|images)/