-
Notifications
You must be signed in to change notification settings - Fork 6
30 lines (29 loc) · 1.03 KB
/
lint.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Linting
on: [push, pull_request]
jobs:
lint_nox_sim:
runs-on: ubuntu-22.04
steps:
- name: Install Verilator
uses: actions/checkout@v3
with:
submodules: 'recursive'
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