summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-01-14 21:16:18 +0100
committerSébastien Helleu <flashcode@flashtux.org>2023-01-14 21:16:18 +0100
commitfdb793e410e61608b8f0c45c37dd0169f4c070cc (patch)
treed0aafb9bd29fa27ca939c2ec4201b7b545180853
parent7668e7ea55790056ae2e05d80872c54e7784f7f9 (diff)
downloadweechat-fdb793e410e61608b8f0c45c37dd0169f4c070cc.zip
ci: fix macOS CI (temporary fix)
Unlink Python binaries so that the install of packages via brew is a success. See: https://github.com/actions/setup-python/issues/577
-rw-r--r--.github/workflows/ci.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 4e26e43e1..08ecfc803 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -97,6 +97,19 @@ jobs:
- name: Install dependencies
run: |
brew update
+ # temporary fix, see: https://github.com/actions/setup-python/issues/577
+ rm -f \
+ /usr/local/bin/2to3 \
+ /usr/local/bin/idle3 \
+ /usr/local/bin/pydoc3 \
+ /usr/local/bin/python3 \
+ /usr/local/bin/python3-config \
+ /usr/local/bin/2to3-3.11 \
+ /usr/local/bin/idle3.11 \
+ /usr/local/bin/pydoc3.11 \
+ /usr/local/bin/python3.11 \
+ /usr/local/bin/python3.11-config \
+ ;
brew install asciidoctor lua ruby
- name: Build