aboutsummaryrefslogtreecommitdiffstats
path: root/.cirrus
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2020-11-25 08:37:42 +0000
committerDavid Shah <dave@ds0.me>2020-11-30 08:45:28 +0000
commitbb50b54d80c407854a2553b76e231bc5513b6295 (patch)
tree6bc5ec291ae680ed49230bffb1577462a0ddefd1 /.cirrus
parentca73e14cf9456d96f9cd6b04c0390c5fc5ee0973 (diff)
downloadnextpnr-bb50b54d80c407854a2553b76e231bc5513b6295.tar.gz
nextpnr-bb50b54d80c407854a2553b76e231bc5513b6295.tar.bz2
nextpnr-bb50b54d80c407854a2553b76e231bc5513b6295.zip
nexus: Add to CI
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to '.cirrus')
-rw-r--r--.cirrus/Dockerfile.ubuntu16.0412
-rwxr-xr-x.cirrus/archcheck.sh1
2 files changed, 12 insertions, 1 deletions
diff --git a/.cirrus/Dockerfile.ubuntu16.04 b/.cirrus/Dockerfile.ubuntu16.04
index 92ab2bae..e8de4ed9 100644
--- a/.cirrus/Dockerfile.ubuntu16.04
+++ b/.cirrus/Dockerfile.ubuntu16.04
@@ -9,7 +9,7 @@ RUN set -e -x ;\
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 libeigen3-dev \
- zlib1g-dev
+ zlib1g-dev curl
RUN set -e -x ;\
mkdir -p /usr/local/src ;\
@@ -52,3 +52,13 @@ RUN set -e -x ;\
cmake . ;\
make -j $(nproc) ;\
make install
+
+RUN set -e -x ;\
+ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y ;\
+ mkdir -p /usr/local/src ;\
+ cd /usr/local/src ;\
+ git clone --recursive https://github.com/daveshah1/prjoxide.git ;\
+ cd prjoxide ;\
+ git reset --hard bd5122fab12c1a517588365bd95cbfaa47eff25c ;\
+ cd libprjoxide ;\
+ PATH=$PATH:$HOME/.cargo/bin cargo install --path prjoxide
diff --git a/.cirrus/archcheck.sh b/.cirrus/archcheck.sh
index fde19216..35f115d0 100755
--- a/.cirrus/archcheck.sh
+++ b/.cirrus/archcheck.sh
@@ -4,3 +4,4 @@ echo "Running archcheck!"
${BUILD_DIR}/nextpnr-ice40 --hx8k --package ct256 --test
${BUILD_DIR}/nextpnr-ice40 --up5k --package sg48 --test
${BUILD_DIR}/nextpnr-ecp5 --um5g-25k --package CABGA381 --test
+${BUILD_DIR}/nextpnr-nexus --device LIFCL-40-9BG400CES --test