File tree Expand file tree Collapse file tree 3 files changed +48
-0
lines changed
Expand file tree Collapse file tree 3 files changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Run all testbenches
2+ on :
3+ push :
4+ branches :
5+ - master
6+ pull_request :
7+
8+ jobs :
9+ run_testbenches :
10+ runs-on : ubuntu-latest
11+ container :
12+ image : ghcr.io/lnls-dig/gw-tb-toolchain:latest
13+ steps :
14+ - uses : actions/checkout@v3
15+ with :
16+ submodules : true
17+ - name : Run GHDL testbenches
18+ run : cd hdl/testbench && ./ghdl-ci.sh
19+ - name : Run NVC testbenches
20+ run : cd hdl/testbench && ./nvc-ci.sh
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ set -e
4+
5+ if ls ./* /ghdl/ 1> /dev/null 2>&1 ; then
6+ for tb in ./* /ghdl/; do
7+ echo " Testbench ${tb} "
8+ cd " $tb "
9+ hdlmake
10+ make clean
11+ make
12+ cd ../../
13+ done
14+ fi
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ set -e
4+
5+ if ls ./* /nvc/ 1> /dev/null 2>&1 ; then
6+ for tb in ./* /nvc/; do
7+ echo " Testbench ${tb} "
8+ cd " $tb "
9+ hdlmake
10+ make clean
11+ make
12+ cd ../../
13+ done
14+ fi
You can’t perform that action at this time.
0 commit comments