name: Linting on: [push, pull_request] jobs: lint_nox_sim: name: Run lint runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 with: submodules: 'recursive' - name: Install Verilator run: | sudo apt update -y sudo apt-get install git help2man perl python3 make autoconf g++ flex bison ccache -fy sudo apt-get install libunwind-dev libgoogle-perftools-dev numactl perl-doc -fy sudo apt-get install libfl2 -fy # Ubuntu only (ignore if gives error) sudo apt-get install libfl-dev -fy # Ubuntu only (ignore if gives error) sudo apt-get install zlib1g zlib1g-dev -fy # Ubuntu only (ignore if gives error) sudo apt-get install lcov -fy git clone https://github.com/verilator/verilator.git cd verilator git checkout stable autoconf ./configure make -j $(nproc) sudo make install - name: Run lintT uses: actions/checkout@v3 - run: | make RUN_CMD="" lint