Skip to content

Commit adf2ba8

Browse files
committed
Add Linter Github Action
This is based on the LibreCores CI infrastructure and doesn't need anything except this file. Signed-off-by: Stefan Wallentowitz <[email protected]>
1 parent da1483d commit adf2ba8

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/lint.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
on: [push, pull_request]
2+
3+
jobs:
4+
lint:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- name: Checkout
8+
uses: actions/checkout@v1
9+
- name: Lint Verilog sources with Verilator
10+
uses: librecores/ci-fusesoc-action@master
11+
with:
12+
command: 'run'
13+
core: 'openhw:cv32e40p:core'
14+
target: 'lint'
15+
tool: 'verilator'
16+
pre-run-command: |
17+
pip3 install git+https://github.com/olofk/fusesoc@master
18+
make

0 commit comments

Comments
 (0)