diff options
author | Clifford Wolf <clifford@clifford.at> | 2017-09-28 14:45:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-28 14:45:47 +0200 |
commit | 29f8acf09586c34222923139511ef64c00eccc8b (patch) | |
tree | 44d77358a75e54db40ae2659d07c5ae0ec1e58e7 | |
parent | 30396270a28471dc8832a93732541a79b61042bd (diff) | |
parent | 57b3c34e69845414f6425069176955ecded3f27b (diff) | |
download | yosys-29f8acf09586c34222923139511ef64c00eccc8b.tar.gz yosys-29f8acf09586c34222923139511ef64c00eccc8b.tar.bz2 yosys-29f8acf09586c34222923139511ef64c00eccc8b.zip |
Merge pull request #421 from stephengroat/osx-travis
Add osx tests using brew bundle
-rw-r--r-- | .travis.yml | 2 | ||||
-rw-r--r-- | Brewfile | 9 | ||||
-rw-r--r-- | README.md | 3 |
3 files changed, 12 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 9f0cc06e7..d8cd5b298 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,6 +24,7 @@ addons: - g++-4.8 before_install: - if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew tap Homebrew/bundle && brew bundle; fi - git clone git://github.com/steveicarus/iverilog.git - (cd iverilog && autoconf && ./configure --prefix=$HOME/iverilog && make && make install) - export PATH=$PATH:$HOME/iverilog/bin @@ -32,3 +33,4 @@ compiler: - gcc os: - linux + - osx diff --git a/Brewfile b/Brewfile new file mode 100644 index 000000000..d7cd05bf1 --- /dev/null +++ b/Brewfile @@ -0,0 +1,9 @@ +brew "bison" +brew "flex" +brew "gawk" +brew "libffi" +brew "git" +brew "mercurial" +brew "graphviz" +brew "pkg-config" +brew "python3" @@ -57,8 +57,7 @@ prerequisites for building yosys: Similarily, on Mac OS X MacPorts or Homebrew can be used to install dependencies: - $ brew install bison flex gawk libffi \ - git mercurial graphviz pkg-config python3 + $ brew tap Homebrew/bundle && brew bundle $ sudo port install bison flex readline gawk libffi \ git mercurial graphviz pkgconfig python36 |