Skip to content

Commit

Permalink
ci: fix macOS build (#1692)
Browse files Browse the repository at this point in the history
The removal of the `distutils` module in Python 3.12 break Glib's build.
  • Loading branch information
benoit-pierre authored Nov 2, 2023
1 parent 2904975 commit 3cad876
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ jobs:
filter: tree:0
show-progress: false

- uses: actions/setup-python@v4
with:
# Note: Python 3.12 removal of `distutils` breaks GLib's build.
python-version: '3.11'

- name: Homebrew install dependencies
# Compared to the README, adds ccache for faster compilation times and removes sh5sum to prevent some conflict with coreutils, and gnu-getopt because we're not using kodev
run: brew install ccache nasm ragel binutils coreutils libtool autoconf automake cmake makedepend [email protected] luarocks gettext pkg-config wget gnu-getopt grep bison
Expand Down

0 comments on commit 3cad876

Please sign in to comment.