From 51155ec6a76617bcd1b96c242879e6c75ce5d78b Mon Sep 17 00:00:00 2001 From: David Shah Date: Sat, 8 Dec 2018 14:37:12 +0000 Subject: ci: Add attosoc smoketest for ice40 Signed-off-by: David Shah --- .cirrus/Dockerfile.ubuntu16.04 | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) (limited to '.cirrus') diff --git a/.cirrus/Dockerfile.ubuntu16.04 b/.cirrus/Dockerfile.ubuntu16.04 index 7335292f..71a634bb 100644 --- a/.cirrus/Dockerfile.ubuntu16.04 +++ b/.cirrus/Dockerfile.ubuntu16.04 @@ -6,11 +6,21 @@ RUN set -e -x ;\ apt-get -y update ;\ apt-get -y upgrade ;\ apt-get -y install \ - build-essential cmake clang python3-dev libboost-all-dev qt5-default git + build-essential autoconf cmake clang bison wget flex gperf \ + libreadline-dev gawk tcl-dev libffi-dev graphviz xdot python3-dev \ + libboost-all-dev qt5-default git libftdi-dev pkg-config RUN set -e -x ;\ - apt-get -y install \ - libftdi-dev pkg-config + mkdir -p /usr/local/src ;\ + cd /usr/local/src ;\ + git clone --recursive https://github.com/steveicarus/iverilog.git ;\ + cd iverilog ;\ + git reset --hard 172d7eb0a3665f89b91d601b5912c33acedc81e5 ;\ + sh autoconf.sh ;\ + ./configure ;\ + make -j $(nproc) ;\ + make install ;\ + rm -rf /usr/local/src/iverilog RUN set -e -x ;\ mkdir -p /usr/local/src ;\ @@ -21,6 +31,16 @@ RUN set -e -x ;\ make -j $(nproc) ;\ make install +RUN set -e -x ;\ + mkdir -p /usr/local/src ;\ + cd /usr/local/src ;\ + git clone --recursive https://github.com/YosysHQ/yosys.git ;\ + cd yosys ;\ + git reset --hard 47a5dfdaa4bd7d400c6e3d58476de80904df460d ;\ + make -j $(nproc) ;\ + make install ;\ + rm -rf /usr/local/src/yosys + RUN set -e -x ;\ mkdir -p /usr/local/src ;\ cd /usr/local/src ;\ @@ -31,3 +51,5 @@ RUN set -e -x ;\ cmake -DCMAKE_INSTALL_PREFIX=/usr . ;\ make -j $(nproc) ;\ make install + + -- cgit v1.2.3