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 pyenvpull/2008/head
parent
d6288c1bb9
commit
c450110f96
3 changed files with 54 additions and 11 deletions
@ -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 |
||||||
|
|
Loading…
Reference in new issue