Build openpilot on mac in CI (#1792)

* build on mac in CI

* coreutils

* python stuff

* pipenv

* newer clang

* init pyenv

* verbose

* init pyenv

* install eigen

* ffmpeg

* sdl

* libav

* libtool

* glfw

* add pipfile as cache key

* test cache

* fix cache path

* brew link

* update tools readme

* don't cache on pipfile

* skip python install if installed

* unlink

* simpler cachingm

* here's your key

* cache pip too

* cache pyenv
old-commit-hash: c450110f961173302bec7873b81939f01d5ad1ac
This commit is contained in:
Adeeb Shihadeh
2020-08-10 00:44:24 -07:00
committed by GitHub
parent 3e1132ae81
commit 355e4a40a6
3 changed files with 54 additions and 11 deletions
+26
View File
@@ -0,0 +1,26 @@
#!/bin/bash -e
# install brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
brew install capnp \
czmq \
coreutils \
eigen \
ffmpeg \
glfw \
libarchive \
libtool \
llvm \
pyenv \
zeromq
# install python
pyenv install -s 3.8.2
pyenv global 3.8.2
pyenv rehash
eval "$(pyenv init -)"
pip install pipenv==2018.11.26
pipenv install --system --deploy