fix(CI/mac): python issue workaround (#14369)
This commit is contained in:
parent
d7aa4f86ba
commit
a3a835edc4
1 changed files with 19 additions and 5 deletions
|
|
@ -1,3 +1,22 @@
|
|||
##########################################
|
||||
## workaround for python upgrade issue https://github.com/actions/runner-images/issues/6817
|
||||
rm /usr/local/bin/2to3 || true
|
||||
rm /usr/local/bin/2to3-3.10 || true
|
||||
rm /usr/local/bin/2to3-3.11 || true
|
||||
rm /usr/local/bin/idle3 || true
|
||||
rm /usr/local/bin/idle3.10 || true
|
||||
rm /usr/local/bin/idle3.11 || true
|
||||
rm /usr/local/bin/pydoc3 || true
|
||||
rm /usr/local/bin/pydoc3.10 || true
|
||||
rm /usr/local/bin/pydoc3.11 || true
|
||||
rm /usr/local/bin/python3 || true
|
||||
rm /usr/local/bin/python3.10 || true
|
||||
rm /usr/local/bin/python3.11 || true
|
||||
rm /usr/local/bin/python3-config || true
|
||||
rm /usr/local/bin/python3.10-config || true
|
||||
rm /usr/local/bin/python3.11-config || true
|
||||
##########################################
|
||||
|
||||
brew update
|
||||
|
||||
##########################################
|
||||
|
|
@ -8,8 +27,3 @@ fi
|
|||
##########################################
|
||||
|
||||
brew install openssl@1.1 readline boost bash-completion curl unzip mysql ccache
|
||||
|
||||
##########################################
|
||||
## workaround to fix openssl in ci until https://github.com/actions/virtual-environments/pull/4206 is merged
|
||||
ln -sf $(brew --cellar openssl@1.1)/1.1.1* /usr/local/opt/openssl
|
||||
##########################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue