File tree Expand file tree Collapse file tree 4 files changed +52
-2
lines changed Expand file tree Collapse file tree 4 files changed +52
-2
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,12 @@ jobs:
125
125
name : ebmc-binary
126
126
retention-days : 5
127
127
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
128
134
129
135
# This job takes approximately 4 minutes
130
136
benchmarking :
@@ -167,8 +173,17 @@ jobs:
167
173
path : ebmc
168
174
- name : Try the ebmc binary
169
175
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
172
187
173
188
# This job takes approximately 15 minutes
174
189
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
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ class vlindex_parse_optionst : public parse_options_baset
22
22
23
23
vlindex_parse_optionst (int argc, const char **argv)
24
24
: parse_options_baset(
25
+ " (version)"
25
26
" (top)"
26
27
" (hierarchy)"
27
28
" (modules)"
You can’t perform that action at this time.
0 commit comments