Speed up macOS build by skipping homebrew (downloading the Go pkg, and using curl instead of wget)

This commit is contained in:
Micah Lee 2022-06-19 23:09:00 -04:00
parent a54b6beb12
commit 1116a407ea
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -330,15 +330,15 @@ jobs:
steps:
- checkout
- run:
name: Install Homebrew dependencies
name: Install Go 1.18.3
command: |
brew install wget
brew install go
curl https://go.dev/dl/go1.18.3.darwin-amd64.pkg --output ~/Downloads/go.pkg
sudo installer -pkg ~/Downloads/go.pkg -target /
- run:
name: Install Python 3.9.13
command: |
wget https://www.python.org/ftp/python/3.9.13/python-3.9.13-macosx10.9.pkg -O ~/Downloads/python.pkg
curl https://www.python.org/ftp/python/3.9.13/python-3.9.13-macosx10.9.pkg --output ~/Downloads/python.pkg
sudo installer -pkg ~/Downloads/python.pkg -target /
- run: