Skip to content

Commit 3abe4a0

Browse files
hugovkbrettcannon
authored andcommitted
[3.13] CI: Move Homebrew dependencies into Brewfile (GH-148335) (GH-149884)
(cherry picked from commit 419fe42) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Brett Cannon <brett@python.org>
1 parent e378eda commit 3abe4a0

2 files changed

Lines changed: 16 additions & 1 deletion

File tree

.github/workflows/reusable-macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
key: ${{ github.job }}-${{ env.IMAGE_OS_VERSION }}-${{ inputs.config_hash }}
4646
- name: Install Homebrew dependencies
4747
run: |
48-
brew install pkg-config openssl@3.0 xz gdbm tcl-tk@8
48+
brew bundle --file=Misc/Brewfile
4949
# Because alternate versions are not symlinked into place by default:
5050
brew link --overwrite tcl-tk@8
5151
- name: Configure CPython

Misc/Brewfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
brew "gdbm"
2+
brew "mpdecimal"
3+
brew "openssl@3.0"
4+
brew "pkg-config"
5+
brew "tcl-tk@8"
6+
brew "xz"
7+
brew "zstd"
8+
9+
brew "bzip2" if OS.linux?
10+
brew "expat" if OS.linux?
11+
brew "libedit" if OS.linux?
12+
brew "libffi" if OS.linux?
13+
brew "ncurses" if OS.linux?
14+
brew "unzip" if OS.linux?
15+
brew "zlib-ng-compat" if OS.linux?

0 commit comments

Comments
 (0)