@@ -9,78 +9,10 @@ defaults:
99 shell : bash
1010
1111jobs :
12- merge-verilator-reports :
13- name : Merge Verilator info data
14- runs-on : ubuntu-24.04
15- container : ghcr.io/antmicro/cores-veer-el2:20250123123840
16- env :
17- DEBIAN_FRONTEND : " noninteractive"
18- steps :
19- - uses : actions/checkout@v3
20- with :
21- submodules : recursive
22-
23- - name : Download coverage reports
24- uses : actions/download-artifact@v4
25- with :
26- pattern : " *coverage_data*"
27- merge-multiple : true
28- path : ./
29-
30- - name : Setup info-process
31- run : .github/scripts/info_process_setup.sh
32-
33- - name : Merge data
34- run : |
35- mkdir info_files_verilator
36- mv *.info info_files_verilator/
37- export SIM=verilator
38- .github/scripts/prepare_coverage_data.sh
39-
40- - name : Pack artifacts
41- if : always()
42- uses : actions/upload-artifact@v4
43- with :
44- name : verilator_coverage_single_data
45- path : verilator_coverage_single_data.tar.xz
46-
47- - name : Pack artifacts
48- if : always()
49- uses : actions/upload-artifact@v4
50- with :
51- name : data_verilator
52- path : data_verilator/*
53-
54- custom-coverage-reports :
55- name : Custom coverage reports
56- runs-on : [ self-hosted, Linux, X64, gcp-custom-runners ]
57- container : centos:8
58- env :
59- GHA_EXTERNAL_DISK : additional-tools
60- GHA_SA : gh-sa-veer-uploader
61-
62- steps :
63- - uses : actions/checkout@v3
64- with :
65- submodules : recursive
66-
67- - name : Prepare Environment
68- run : _secret_prepare_env
69-
70- - name : Generate custom reports
71- run : _secret_custom_report
72-
73- - name : Pack artifacts
74- uses : actions/upload-artifact@v4
75- with :
76- name : info_files_v_mapped
77- path : info_files_v/*
78-
7912 both-coverage-reports :
8013 name : Coverage reports merger
8114 runs-on : [ self-hosted, Linux, X64, gcp-custom-runners ]
8215 container : debian:trixie
83- needs : [merge-verilator-reports, custom-coverage-reports]
8416 env :
8517 DEBIAN_FRONTEND : noninteractive
8618 GHA_EXTERNAL_DISK : additional-tools
@@ -111,51 +43,3 @@ jobs:
11143 with :
11244 name : v_coverage_single_data
11345 path : v_coverage_single_data.tar.xz
114-
115- - name : Pack artifacts
116- uses : actions/upload-artifact@v4
117- with :
118- name : data_v
119- path : data_v/*
120-
121- - name : Download Verilator data
122- uses : actions/download-artifact@v4
123- with :
124- name : data_verilator
125- path : data_verilator/
126-
127- - name : Compare tests
128- run : |
129- cat data_v/*.desc | grep '^TEST:' | sed 's#.*,##' | sed 's#;#\n#g' | sort | uniq >tests_v
130- cat data_verilator/*.desc | grep '^TEST:' | sed 's#.*,##' | sed 's#;#\n#g' | sort | uniq >tests_verilator
131- # `|| true` because it's only needed for informational purposes, a difference is not a reason to fail.
132- diff -yt tests_v tests_verilator || true
133-
134- - name : Create merged package
135- run : |
136- .github/scripts/create_merged_package.sh
137- rm -rf data_verilator
138- rm -rf data_v
139-
140- - name : Pack artifacts
141- uses : actions/upload-artifact@v4
142- with :
143- name : data_both
144- path : data_both/*
145-
146- - name : Download V mapped info files
147- uses : actions/download-artifact@v4
148- with :
149- name : info_files_v_mapped
150- path : info_files_v
151-
152- - name : Prepare custom coverage
153- run : |
154- export SIM=v
155- .github/scripts/prepare_coverage_data.sh
156-
157- - name : Pack artifacts
158- uses : actions/upload-artifact@v4
159- with :
160- name : data_v_mapped
161- path : data_v/*
0 commit comments