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: steps:
- checkout - checkout
- run: - run:
name: Install Homebrew dependencies name: Install Go 1.18.3
command: | command: |
brew install wget curl https://go.dev/dl/go1.18.3.darwin-amd64.pkg --output ~/Downloads/go.pkg
brew install go sudo installer -pkg ~/Downloads/go.pkg -target /
- run: - run:
name: Install Python 3.9.13 name: Install Python 3.9.13
command: | 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 / sudo installer -pkg ~/Downloads/python.pkg -target /
- run: - run: