File tree Expand file tree Collapse file tree 3 files changed +51
-2
lines changed
Expand file tree Collapse file tree 3 files changed +51
-2
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,12 @@ jobs:
125125 name : ebmc-binary
126126 retention-days : 5
127127 path : src/ebmc/ebmc
128+ - name : Upload the vlindex binary
129+ uses : actions/upload-artifact@v4
130+ with :
131+ name : vlindex-binary
132+ retention-days : 5
133+ path : src/vlindex/vlindex
128134
129135 # This job takes approximately 4 minutes
130136 benchmarking :
@@ -167,8 +173,17 @@ jobs:
167173 path : ebmc
168174 - name : Try the ebmc binary
169175 run : chmod a+x ./ebmc/ebmc ; ./ebmc/ebmc --version
170- - name : Hazard3
171- run : PATH=$PATH:$PWD/ebmc examples/Hazard3/Hazard3.sh
176+ - name : ebmc on Hazard3
177+ run : PATH=$PATH:$PWD/ebmc examples/Hazard3/Hazard3-ebmc.sh
178+ - name : Get the vlindex binary
179+ uses : actions/download-artifact@v4
180+ with :
181+ name : vlindex-binary
182+ path : vlindex
183+ - name : Try the vlindex binary
184+ run : chmod a+x ./vlindex/vlindex ; ./vlindex/vlindex --version
185+ - name : vlindex on Hazard3
186+ run : PATH=$PATH:$PWD/vlindex examples/Hazard3/Hazard3-vlindex.sh
172187
173188 # This job takes approximately 15 minutes
174189 check-centos8-make-gcc :
File renamed without changes.
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ # abort on error
4+ set -e
5+
6+ # clone Hazard3 repo if not done yet
7+ if [ ! -e Hazard3/.git ] ; then
8+ git clone https://github.com/Wren6991/Hazard3 --branch v1.0 --depth 1
9+ fi
10+
11+ cd Hazard3
12+
13+ vlindex -I hdl | tee vlindex-output
14+
15+ grep " Number of" vlindex-output > vlindex-output-filtered
16+
17+ # This errors when there's a diff
18+ diff vlindex-output-filtered - << EOM
19+ Number of files...........: 46
20+ Number of symlinked files.: 0
21+ Number of lines...........: 12093
22+ Number of modules.........: 46
23+ Number of UDPs............: 0
24+ Number of checkers........: 0
25+ Number of classes.........: 0
26+ Number of packages........: 0
27+ Number of interfaces......: 0
28+ Number of functions.......: 7
29+ Number of tasks...........: 0
30+ Number of properties......: 0
31+ Number of sequences.......: 0
32+ Number of module instances: 71
33+ Number of configurations..: 0
34+ EOM
You can’t perform that action at this time.
0 commit comments