fix mac CI (#19829)

* hopefully this isn't slow

* upgrade

* try this

* apparently this is the right way to do this
pull/19832/head
Adeeb Shihadeh 2021-01-18 17:28:30 -08:00 committed by GitHub
parent c03a95f7f9
commit 14f9700f6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 15 deletions

View File

@ -1,25 +1,26 @@
#!/bin/bash -e
# Install brew if required.
# Install brew if required
if [[ $(command -v brew) == "" ]]; then
echo "Installing Hombrew"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
fi
brew install capnp \
coreutils \
eigen \
ffmpeg \
glfw \
libarchive \
libusb \
libtool \
llvm \
openssl \
pyenv \
qt5 \
zeromq
brew bundle --file=- <<-EOS
brew "capnp"
brew "coreutils"
brew "eigen"
brew "ffmpeg"
brew "glfw"
brew "libarchive"
brew "libusb"
brew "libtool"
brew "llvm"
brew "openssl"
brew "pyenv"
brew "qt5"
brew "zeromq"
EOS
if [[ $SHELL == "/bin/zsh" ]]; then
RC_FILE="$HOME/.zshrc"