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)/