Skip to content

Commit

Permalink
Remove python before brew install
Browse files Browse the repository at this point in the history
Workaround for github/brew problem. Python is already install
on the Github action runner and then homebrew comes along...
See also: Homebrew/homebrew-core#173191
  • Loading branch information
joto committed Jun 15, 2024
1 parent 864a31a commit fc85ae2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ jobs:

- name: Install prerequisites
run: |
brew install boost lua nlohmann-json opencv pandoc postgis potrace
# Workaround for github/brew problem. Python is already install
# on the Github action runner and then homebrew comes along...
# See also: https://github.com/Homebrew/homebrew-core/issues/173191
rm -f /usr/local/bin/2to3* /usr/local/bin/idle3* /usr/local/bin/pydoc3* /usr/local/bin/python3*
brew install boost lua nlohmann-json opencv pandoc postgis potrace python3
# --break-system-packages is needed on macOS 14
pip3 install --break-system-packages psycopg2 behave osmium
mkdir ~/postgres
Expand Down

0 comments on commit fc85ae2

Please sign in to comment.