diff options
author | Alessandro Comodi <acomodi@antmicro.com> | 2021-03-26 10:24:59 +0100 |
---|---|---|
committer | Alessandro Comodi <acomodi@antmicro.com> | 2021-03-26 15:11:03 +0100 |
commit | b5ba3ee9ee5dc7bdae3e528bdfd03b375d8aa34e (patch) | |
tree | 83b9147cd14e2b1b287a9f3b8da939d7d96f9397 | |
parent | 0e9a1abc7ec083249e5aba0cfd8db51e0fed7aa6 (diff) | |
download | nextpnr-b5ba3ee9ee5dc7bdae3e528bdfd03b375d8aa34e.tar.gz nextpnr-b5ba3ee9ee5dc7bdae3e528bdfd03b375d8aa34e.tar.bz2 nextpnr-b5ba3ee9ee5dc7bdae3e528bdfd03b375d8aa34e.zip |
interchange: add archcheck tests to all-device-test target
This increases parallelism and should make the FPGA interchange CI
faster
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
-rw-r--r-- | .github/workflows/interchange_ci.yml | 2 | ||||
-rw-r--r-- | fpga_interchange/examples/chipdb.cmake | 7 |
2 files changed, 6 insertions, 3 deletions
diff --git a/.github/workflows/interchange_ci.yml b/.github/workflows/interchange_ci.yml index 8b16d795..6cedef94 100644 --- a/.github/workflows/interchange_ci.yml +++ b/.github/workflows/interchange_ci.yml @@ -90,6 +90,4 @@ jobs: DEVICE: ${{ matrix.device }} run: | cd build - make chipdb-$DEVICE-bin-check-test-data - make chipdb-$DEVICE-bin-check make all-$DEVICE-tests -j`nproc` diff --git a/fpga_interchange/examples/chipdb.cmake b/fpga_interchange/examples/chipdb.cmake index 60814845..3cca7840 100644 --- a/fpga_interchange/examples/chipdb.cmake +++ b/fpga_interchange/examples/chipdb.cmake @@ -370,6 +370,11 @@ function(generate_chipdb) add_dependencies(all-${family}-archcheck-tests chipdb-${device}-bin-check-test-data chipdb-${device}-bin-check) # All tests targets for this device are added to this target - add_custom_target(all-${device}-tests) + add_custom_target( + all-${device}-tests + DEPENDS + chipdb-${device}-bin-check-test-data + chipdb-${device}-bin-check + ) endfunction() |