Skip to content

Commit

Permalink
Update on workflow setup
Browse files Browse the repository at this point in the history
Signed-off-by: Anderson Ignacio da Silva <[email protected]>
  • Loading branch information
aignacio committed Jun 14, 2024
1 parent 1af4f77 commit 2dfb7a4
Showing 1 changed file with 24 additions and 23 deletions.
47 changes: 24 additions & 23 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,29 @@ on: [push, pull_request]

jobs:
lint_nox_sim:
name: Run lint
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
- 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

0 comments on commit 2dfb7a4

Please sign in to comment.