Skip to content

module(l1_data_cache): Added test and fixed issues with module #599

module(l1_data_cache): Added test and fixed issues with module

module(l1_data_cache): Added test and fixed issues with module #599

Workflow file for this run

name: Verilator-Test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
container: archlinux:base-devel
steps:
- name: Install Build Dependencies
run: |
pacman --noconfirm -Syu
pacman --noconfirm -S cmake ninja git curl zip unzip tar verilator
- name: Checkout
uses: actions/checkout@v4
- name: Configure
run: cmake . -G Ninja -DNYU_BUILD_TESTS=ON
- name: Build
run: cmake --build . --config Release
- name: Test & Generate Coverage
run: |
ctest -C Release --output-on-failure
sed -i -e '/\/share\//d' -e '/\/dv\//d' dv/*.dat
verilator_coverage -write-info coverage.txt dv/*.dat
- name: Upload Coverage
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.txt
fail_ci_if_error: true