diff options
author | David Shah <dave@ds0.me> | 2020-06-29 16:34:19 +0100 |
---|---|---|
committer | David Shah <dave@ds0.me> | 2020-06-29 21:32:26 +0100 |
commit | 72786e249a2c099b3434a270840d007f7178105c (patch) | |
tree | 23201733a5cc968738b5e1d198b45047ecbfab4b | |
parent | 43ad5614bdb7b0e2f0bf2504cc369f1c1253731b (diff) | |
download | nextpnr-72786e249a2c099b3434a270840d007f7178105c.tar.gz nextpnr-72786e249a2c099b3434a270840d007f7178105c.tar.bz2 nextpnr-72786e249a2c099b3434a270840d007f7178105c.zip |
ci: Run --test architecture checks
Signed-off-by: David Shah <dave@ds0.me>
-rw-r--r-- | .cirrus.yml | 1 | ||||
-rwxr-xr-x | .cirrus/archcheck.sh | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml index d947b559..a493b04f 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -14,3 +14,4 @@ task: smoketest_generic_script: export NEXTPNR=$(pwd)/build/nextpnr-generic && cd generic/examples && ./simple.sh && ./simtest.sh regressiontest_ice40_script: make -j $(nproc) -C tests/ice40/regressions NPNR=$(pwd)/build/nextpnr-ice40 regressiontest_ecp5_script: make -j $(nproc) -C tests/ecp5/regressions NPNR=$(pwd)/build/nextpnr-ecp5 + archcheck_script: BUILD_DIR=$(pwd)/build ./.cirrus/archcheck.sh diff --git a/.cirrus/archcheck.sh b/.cirrus/archcheck.sh new file mode 100755 index 00000000..fde19216 --- /dev/null +++ b/.cirrus/archcheck.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +set -ex +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 |