-
Notifications
You must be signed in to change notification settings - Fork 444
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix broken MacOS and Ubuntu18.04 runs. (#4517)
* Support Ubuntu 18.04 black. * Fix broken CI runs. * Always pass the brew command. * Use aggressive method for MacOS-13 only.
- Loading branch information
Showing
3 changed files
with
27 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -93,6 +93,26 @@ jobs: | |
|
||
- name: Install dependencies (MacOS) | ||
run: | | ||
# FIXME: We should not need to do this, but there are currently some complications with Github CI. | ||
# See https://github.com/actions/runner-images/issues/4020. | ||
# See https://github.com/actions/runner-images/issues/8838. | ||
brew unlink [email protected] | ||
brew uninstall --force azure-cli | ||
brew uninstall --force aws-sam-cli | ||
brew uninstall --force pipx | ||
brew uninstall --force [email protected] | ||
brew uninstall --force [email protected] | ||
rm -f '/usr/local/bin/2to3' | ||
rm -f '/usr/local/bin/2to3-3.12' | ||
rm -f '/usr/local/bin/idle3' | ||
rm -f '/usr/local/bin/idle3.12' | ||
rm -f '/usr/local/bin/pydoc3' | ||
rm -f '/usr/local/bin/pydoc3.12' | ||
rm -f '/usr/local/bin/python3' | ||
rm -f '/usr/local/bin/python3-config' | ||
rm -f '/usr/local/bin/python3.12' | ||
rm -f '/usr/local/bin/python3.12-config' | ||
brew install python@3 || brew link --overwrite python@3 | ||
tools/install_mac_deps.sh | ||
- name: Build (MacOS) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters