Skip to content

Commit b86b3c5

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

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
@@ -38,7 +38,7 @@ jobs:
3838
run: echo "IMAGE_OS_VERSION=${ImageOS}-${ImageVersion}" >> "$GITHUB_ENV"
3939
- name: Install Homebrew dependencies
4040
run: |
41-
brew install pkg-config openssl@3.0 xz gdbm tcl-tk@8
41+
brew bundle --file=Misc/Brewfile
4242
# Because alternate versions are not symlinked into place by default:
4343
brew link --overwrite tcl-tk@8
4444
- 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)