Skip to content

Commit fc687da

Browse files
committed
Fix macos_13 packages installation
Based on installation code in libkiwix CI
1 parent 7879d74 commit fc687da

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/ci.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,12 @@ jobs:
2727
python-version: '3.9'
2828

2929
- name: Install packages
30-
run: brew install gcovr ninja libmagic
30+
run: |
31+
brew update
32+
brew unlink python3
33+
# upgrade from python@3.12 to python@3.12.2 fails to overwrite those
34+
rm -f /usr/local/bin/2to3 /usr/local/bin/2to3-3.12 /usr/local/bin/idle3 /usr/local/bin/idle3.12 /usr/local/bin/pydoc3 /usr/local/bin/pydoc3.12 /usr/local/bin/python3 /usr/local/bin/python3-config /usr/local/bin/python3.12 /usr/local/bin/python3.12-config
35+
brew install gcovr ninja libmagic
3136
env:
3237
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: 1
3338

0 commit comments

Comments
 (0)