DNM!! Test with data from latest main #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Coverage report | |
on: | |
push: | |
workflow_call: | |
jobs: | |
merge-verilator-reports: | |
name: Merge Verilator info data | |
runs-on: ubuntu-24.04 | |
container: ghcr.io/antmicro/cores-veer-el2:20250123123840 | |
env: | |
DEBIAN_FRONTEND: "noninteractive" | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
# - name: Download coverage reports | |
# uses: actions/download-artifact@v4 | |
# with: | |
# pattern: "*coverage_data*" | |
# merge-multiple: true | |
# path: ./ | |
- name: Setup info-process | |
shell: bash | |
run: .github/scripts/info_process_setup.sh | |
- name: Merge data | |
shell: bash | |
run: | | |
tar xf verilator_coverage_single_data.tar.xz | |
rm verilator_coverage_single_data.tar.xz | |
export SIM=verilator | |
.github/scripts/prepare_coverage_data.sh | |
# - name: Pack artifacts | |
# if: always() | |
# uses: actions/upload-artifact@v4 | |
# with: | |
# name: verilator_coverage_single_data | |
# path: verilator_coverage_single_data.tar.xz | |
- name: Pack artifacts | |
if: always() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: data_verilator | |
path: data_verilator/* | |
custom-coverage-reports: | |
name: Custom coverage reports | |
runs-on: [ self-hosted, Linux, X64, gcp-custom-runners ] | |
container: centos:8 | |
env: | |
GHA_EXTERNAL_DISK: additional-tools | |
GHA_SA: gh-sa-veer-uploader | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Prepare Environment | |
run: _secret_prepare_env | |
- name: Generate custom reports | |
run: _secret_custom_report_tmp | |
- name: Pack artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: info_files_v_mapped | |
path: info_files_v/* | |
both-coverage-reports: | |
name: Coverage reports merger | |
runs-on: [ self-hosted, Linux, X64, gcp-custom-runners ] | |
container: debian:trixie | |
needs: [merge-verilator-reports, custom-coverage-reports] | |
env: | |
DEBIAN_FRONTEND: noninteractive | |
GHA_EXTERNAL_DISK: additional-tools | |
GHA_SA: gh-sa-veer-uploader | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Extract custom coverage | |
run: _secret_custom_report_mapfile_tmp | |
- name: Setup info-process | |
shell: bash | |
run: .github/scripts/info_process_setup.sh | |
- name: Prepare custom coverage | |
run: | | |
export SIM=v | |
.github/scripts/prepare_coverage_data.sh | |
# info_files_v_mapped uses the same dir. | |
rm -rf info_files_v | |
- name: Pack artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: v_coverage_single_data | |
path: v_coverage_single_data.tar.xz | |
- name: Pack artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: data_v | |
path: data_v/* | |
- name: Download Verilator data | |
uses: actions/download-artifact@v4 | |
with: | |
name: data_verilator | |
path: data_verilator/ | |
- name: Create merged package | |
run: | | |
.github/scripts/create_merged_package.sh | |
rm -rf data_verilator | |
rm -rf data_v | |
- name: Pack artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: data_both | |
path: data_both/* | |
- name: Download V mapped info files | |
uses: actions/download-artifact@v4 | |
with: | |
name: info_files_v_mapped | |
path: info_files_v | |
- name: Prepare custom coverage | |
run: | | |
export SIM=v | |
.github/scripts/prepare_coverage_data.sh | |
- name: Pack artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: data_v_mapped | |
path: data_v/* |