Skip to content

Commit

Permalink
Run NVC testbenches in the CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
augustofg committed Jun 20, 2024
1 parent 33d1b8b commit 04a49f1
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,7 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: true
- name: Run testbenches
run: cd testbench && ./test-all.sh
- name: Run GHDL testbenches
run: cd testbench && ./ghdl-ci.sh
- name: Run NVC testbenches
run: cd testbench && ./nvc-ci.sh
File renamed without changes.
21 changes: 21 additions & 0 deletions testbench/nvc-ci.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/sh

set -e

for tb in ./*/nvc/; do
echo "Testbench ${tb}"
cd "$tb"
hdlmake
make clean
make
cd ../../
done

for tb in ./*/*/nvc/; do
echo "Testbench ${tb}"
cd "$tb"
hdlmake
make clean
make
cd ../../..
done

0 comments on commit 04a49f1

Please sign in to comment.