add icenet and testchipip unit tests to CI
This commit is contained in:
@@ -252,6 +252,16 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- prepare-rtl:
|
- prepare-rtl:
|
||||||
project-key: "chipyard-ariane"
|
project-key: "chipyard-ariane"
|
||||||
|
prepare-icenet:
|
||||||
|
executor: main-env
|
||||||
|
steps:
|
||||||
|
- prepare-rtl:
|
||||||
|
project-key: "icenet"
|
||||||
|
prepare-testchipip:
|
||||||
|
executor: main-env
|
||||||
|
steps:
|
||||||
|
- prepare-rtl:
|
||||||
|
project-key: "testchipip"
|
||||||
chipyard-rocket-run-tests:
|
chipyard-rocket-run-tests:
|
||||||
executor: main-env
|
executor: main-env
|
||||||
steps:
|
steps:
|
||||||
@@ -337,6 +347,18 @@ jobs:
|
|||||||
- run-tests:
|
- run-tests:
|
||||||
project-key: "chipyard-ariane"
|
project-key: "chipyard-ariane"
|
||||||
timeout: "30m"
|
timeout: "30m"
|
||||||
|
icenet-run-tests:
|
||||||
|
executor: main-env
|
||||||
|
steps:
|
||||||
|
- run-tests:
|
||||||
|
project-key: "icenet"
|
||||||
|
timeout: "30m"
|
||||||
|
testchipip-run-tests:
|
||||||
|
executor: main-env
|
||||||
|
steps:
|
||||||
|
- run-tests:
|
||||||
|
project-key: "testchipip"
|
||||||
|
timeout: "30m"
|
||||||
|
|
||||||
# Order and dependencies of jobs to run
|
# Order and dependencies of jobs to run
|
||||||
workflows:
|
workflows:
|
||||||
@@ -431,6 +453,16 @@ workflows:
|
|||||||
- install-riscv-toolchain
|
- install-riscv-toolchain
|
||||||
- install-verilator
|
- install-verilator
|
||||||
|
|
||||||
|
- prepare-icenet:
|
||||||
|
requires:
|
||||||
|
- install-riscv-toolchain
|
||||||
|
- install-verilator
|
||||||
|
|
||||||
|
- prepare-testchipip:
|
||||||
|
requires:
|
||||||
|
- install-riscv-toolchain
|
||||||
|
- install-verilator
|
||||||
|
|
||||||
# Run the respective tests
|
# Run the respective tests
|
||||||
|
|
||||||
# Run midasexamples test
|
# Run midasexamples test
|
||||||
@@ -495,3 +527,11 @@ workflows:
|
|||||||
- chipyard-ariane-run-tests:
|
- chipyard-ariane-run-tests:
|
||||||
requires:
|
requires:
|
||||||
- prepare-chipyard-ariane
|
- prepare-chipyard-ariane
|
||||||
|
|
||||||
|
- icenet-run-tests:
|
||||||
|
requires:
|
||||||
|
- prepare-icenet
|
||||||
|
|
||||||
|
- testchipip-run-tests:
|
||||||
|
requires:
|
||||||
|
- prepare-testchipip
|
||||||
|
|||||||
@@ -57,3 +57,5 @@ mapping["tracegen-boom"]="SUB_PROJECT=chipyard CONFIG=BoomTraceGenConfig TOP=Tra
|
|||||||
mapping["firesim"]="SCALA_TEST=firesim.firesim.RocketNICF1Tests"
|
mapping["firesim"]="SCALA_TEST=firesim.firesim.RocketNICF1Tests"
|
||||||
mapping["firesim-multiclock"]="SCALA_TEST=firesim.firesim.RocketMulticlockF1Tests"
|
mapping["firesim-multiclock"]="SCALA_TEST=firesim.firesim.RocketMulticlockF1Tests"
|
||||||
mapping["fireboom"]="SCALA_TEST=firesim.firesim.BoomF1Tests"
|
mapping["fireboom"]="SCALA_TEST=firesim.firesim.BoomF1Tests"
|
||||||
|
mapping["icenet"]="SUB_PROJECT=icenet"
|
||||||
|
mapping["testchipip"]="SUB_PROJECT=testchipip"
|
||||||
|
|||||||
@@ -71,6 +71,12 @@ case $1 in
|
|||||||
chipyard-ariane)
|
chipyard-ariane)
|
||||||
make run-binary-fast -C $LOCAL_SIM_DIR ${mapping[$1]} BINARY=$RISCV/riscv64-unknown-elf/share/riscv-tests/benchmarks/dhrystone.riscv
|
make run-binary-fast -C $LOCAL_SIM_DIR ${mapping[$1]} BINARY=$RISCV/riscv64-unknown-elf/share/riscv-tests/benchmarks/dhrystone.riscv
|
||||||
;;
|
;;
|
||||||
|
icenet)
|
||||||
|
make run-none-fast -C $LOCAL_SIM_DIR ${mapping[$1]}
|
||||||
|
;;
|
||||||
|
testchipip)
|
||||||
|
make run-none-fast -C $LOCAL_SIM_DIR ${mapping[$1]}
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
echo "No set of tests for $1. Did you spell it right?"
|
echo "No set of tests for $1. Did you spell it right?"
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user