Skip to content

Commit 867a868

Browse files
another MacOS CI fix attempt (this is getting ridiculous, fix your shit github)
1 parent bf831e3 commit 867a868

File tree

1 file changed

+38
-2
lines changed

1 file changed

+38
-2
lines changed

.github/workflows/build_all.yml

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,25 @@ jobs:
9797
run: brew update
9898

9999
- name: Fix stuff
100-
run: rm -f /usr/local/bin/2to3* /usr/local/bin/idle3* /usr/local/bin/pydoc3* /usr/local/bin/python3* /usr/local/bin/python3-config* && brew reinstall gettext
100+
run: |
101+
# Workaround for https://github.com/actions/runner-images/issues/4020
102+
brew unlink [email protected]
103+
brew uninstall --force azure-cli
104+
brew uninstall --force aws-sam-cli
105+
brew uninstall --force pipx
106+
brew uninstall --force [email protected]
107+
brew uninstall --force [email protected]
108+
rm -f '/usr/local/bin/2to3'
109+
rm -f '/usr/local/bin/2to3-3.12'
110+
rm -f '/usr/local/bin/idle3'
111+
rm -f '/usr/local/bin/idle3.12'
112+
rm -f '/usr/local/bin/pydoc3'
113+
rm -f '/usr/local/bin/pydoc3.12'
114+
rm -f '/usr/local/bin/python3'
115+
rm -f '/usr/local/bin/python3-config'
116+
rm -f '/usr/local/bin/python3.12'
117+
rm -f '/usr/local/bin/python3.12-config'
118+
brew install python@3 || brew link --overwrite python@3
101119
102120
- name: Install dependencies
103121
run: brew install pkg-config libusb fftw glfw airspy airspyhf portaudio hackrf libbladerf codec2 zstd autoconf automake libtool && pip3 install mako
@@ -154,7 +172,25 @@ jobs:
154172
run: brew update
155173

156174
- name: Fix stuff
157-
run: rm -f /usr/local/bin/2to3* /usr/local/bin/idle3* /usr/local/bin/pydoc3* /usr/local/bin/python3* /usr/local/bin/python3-config* && brew reinstall gettext
175+
run: |
176+
# Workaround for https://github.com/actions/runner-images/issues/4020
177+
brew unlink [email protected]
178+
brew uninstall --force azure-cli
179+
brew uninstall --force aws-sam-cli
180+
brew uninstall --force pipx
181+
brew uninstall --force [email protected]
182+
brew uninstall --force [email protected]
183+
rm -f '/usr/local/bin/2to3'
184+
rm -f '/usr/local/bin/2to3-3.12'
185+
rm -f '/usr/local/bin/idle3'
186+
rm -f '/usr/local/bin/idle3.12'
187+
rm -f '/usr/local/bin/pydoc3'
188+
rm -f '/usr/local/bin/pydoc3.12'
189+
rm -f '/usr/local/bin/python3'
190+
rm -f '/usr/local/bin/python3-config'
191+
rm -f '/usr/local/bin/python3.12'
192+
rm -f '/usr/local/bin/python3.12-config'
193+
brew install python@3 || brew link --overwrite python@3
158194
159195
- name: Install dependencies
160196
run: brew install pkg-config libusb fftw glfw airspy airspyhf portaudio hackrf libbladerf codec2 zstd autoconf automake libtool && pip3 install mako

0 commit comments

Comments
 (0)