Skip to content

Avoid installing anything from Homebrew in test runs#9043

Merged
acozzette merged 1 commit intoprotocolbuffers:3.18.xfrom
acozzette:mac-build
Oct 1, 2021
Merged

Avoid installing anything from Homebrew in test runs#9043
acozzette merged 1 commit intoprotocolbuffers:3.18.xfrom
acozzette:mac-build

Conversation

@acozzette
Copy link
Copy Markdown

@acozzette acozzette commented Oct 1, 2021

Installing and upgrading Homebrew packages is taking quite a lot of time
(around 20-30 minutes) for each run. This commit removes all Homebrew
usage from the test runs. Homebrew may have been necessary at some point
in the past, but now it appears that everything works without it. The
preinstalled build tools seem to be sufficient for building protoc, and
Ruby is something we already get from rvm.

Installing and upgrading Homebrew packages is taking quite a lot of time
(around 20-30 minutes) for each run. This commit removes all Homebrew
usage from the test runs. Homebrew may have been necessary at some point
in the past, but now it appears that everything works without it. The
preinstalled build tools seem to be sufficient for building protoc, and
Ruby is something we already get from rvm.
@acozzette acozzette requested review from haberman and thomasvl October 1, 2021 21:18
@acozzette acozzette changed the title Reduce the number of Homebrew package downloads in test runs Avoid installing anything from Homebrew in test runs Oct 1, 2021
Copy link
Copy Markdown
Contributor

@thomasvl thomasvl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG for the cocoapods tests.

@acozzette
Copy link
Copy Markdown
Author

I believe the Ruby 3.0 failure is an issue with RVM and isn't related to this change, so it appears that everything does still work without us needing Homebrew.

@acozzette acozzette merged commit aeb624d into protocolbuffers:3.18.x Oct 1, 2021
@acozzette acozzette deleted the mac-build branch October 1, 2021 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants