Skip to content

Commit 7cf4dac

Browse files
authored
Move Homebrew dependencies into Brewfile (#9546)
1 parent c722aae commit 7cf4dac

File tree

3 files changed

+16
-14
lines changed

3 files changed

+16
-14
lines changed

.github/workflows/Brewfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
brew "aom"
2+
brew "dav1d"
3+
brew "freetype"
4+
brew "ghostscript"
5+
brew "jpeg-turbo"
6+
brew "libimagequant"
7+
brew "libraqm"
8+
brew "libtiff"
9+
brew "little-cms2"
10+
brew "openjpeg"
11+
brew "rav1e"
12+
brew "svt-av1"
13+
brew "webp"

.github/workflows/macos-install.sh

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,7 @@
22

33
set -e
44

5-
brew install \
6-
aom \
7-
dav1d \
8-
freetype \
9-
ghostscript \
10-
jpeg-turbo \
11-
libimagequant \
12-
libraqm \
13-
libtiff \
14-
little-cms2 \
15-
openjpeg \
16-
rav1e \
17-
svt-av1 \
18-
webp
5+
brew bundle --file=.github/workflows/Brewfile
196
export PKG_CONFIG_PATH="/usr/local/opt/openblas/lib/pkgconfig"
207

218
python3 -m pip install coverage

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ repos:
4848
args: [--allow-multiple-documents]
4949
- id: end-of-file-fixer
5050
exclude: ^Tests/images/
51+
- id: file-contents-sorter
52+
files: .github/workflows/Brewfile
5153
- id: trailing-whitespace
5254
exclude: ^\.github/.*TEMPLATE|^Tests/(fonts|images)/
5355

0 commit comments

Comments
 (0)