diff options
author | Alessandro Comodi <acomodi@antmicro.com> | 2021-03-24 11:11:29 +0100 |
---|---|---|
committer | Alessandro Comodi <acomodi@antmicro.com> | 2021-03-24 15:37:03 +0100 |
commit | 9f28fa4e75e30eb8329e737081a97189b05f013e (patch) | |
tree | 57c756132c49425374d749c406cd051f27b5c7d0 /fpga_interchange | |
parent | 1a774a05269f6a0718395cfb9f733242a1a82387 (diff) | |
download | nextpnr-9f28fa4e75e30eb8329e737081a97189b05f013e.tar.gz nextpnr-9f28fa4e75e30eb8329e737081a97189b05f013e.tar.bz2 nextpnr-9f28fa4e75e30eb8329e737081a97189b05f013e.zip |
gh-actions: interchange: multiple jobs, one for each device
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
Diffstat (limited to 'fpga_interchange')
-rw-r--r-- | fpga_interchange/examples/chipdb.cmake | 5 | ||||
-rw-r--r-- | fpga_interchange/examples/tests.cmake | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/fpga_interchange/examples/chipdb.cmake b/fpga_interchange/examples/chipdb.cmake index 7b080d9c..60814845 100644 --- a/fpga_interchange/examples/chipdb.cmake +++ b/fpga_interchange/examples/chipdb.cmake @@ -367,6 +367,9 @@ function(generate_chipdb) ${CMAKE_CURRENT_SOURCE_DIR} ) -add_dependencies(all-${family}-archcheck-tests chipdb-${device}-bin-check-test-data chipdb-${device}-bin-check) + 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) endfunction() diff --git a/fpga_interchange/examples/tests.cmake b/fpga_interchange/examples/tests.cmake index 34d7f3f1..115b4a36 100644 --- a/fpga_interchange/examples/tests.cmake +++ b/fpga_interchange/examples/tests.cmake @@ -262,6 +262,7 @@ function(add_interchange_test) add_custom_target(test-${family}-${name}-dcp DEPENDS ${dcp}) add_dependencies(all-${family}-tests test-${family}-${name}-dcp) + add_dependencies(all-${device}-tests test-${family}-${name}-dcp) endfunction() function(add_interchange_group_test) |