mirror of
https://github.com/olofk/serv.git
synced 2026-01-11 23:42:50 +00:00
CI Lint with librecores github action linter
Add the librecores linter, that also does proper annotation to the source code.
This commit is contained in:
parent
0519ae4a52
commit
cfb779d3d6
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -33,11 +33,6 @@ jobs:
|
||||
cd $SERV/workspace
|
||||
fusesoc library add serv $SERV
|
||||
|
||||
- name: lint
|
||||
run: |
|
||||
cd $SERV/workspace
|
||||
fusesoc run --target=lint serv
|
||||
|
||||
- name: build servant
|
||||
run: |
|
||||
cd $SERV/workspace
|
||||
|
||||
16
.github/workflows/lint.yml
vendored
Normal file
16
.github/workflows/lint.yml
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
name: Linter
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
- name: Lint Verilog source files with Verilator
|
||||
uses: librecores/ci-fusesoc-action@master
|
||||
with:
|
||||
command: 'run'
|
||||
core: 'serv'
|
||||
target: 'lint'
|
||||
tool: 'verilator'
|
||||
Loading…
x
Reference in New Issue
Block a user