mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-22 12:57:13 -04:00
Merge 77aaf7db9e
into 594ea976c9
This commit is contained in:
commit
3c9b638cef
1 changed files with 25 additions and 0 deletions
25
.github/workflows/lint.yml
vendored
Normal file
25
.github/workflows/lint.yml
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
name: Linter
|
||||
strategy:
|
||||
matrix:
|
||||
config: ['small']
|
||||
fail-fast: false
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
- name: Test and display fusesoc config for ${{ matrix.config }}
|
||||
id: config_opts
|
||||
run: echo "::set-output name=options::$(./util/ibex_config.py ${{ matrix.config }} fusesoc_opts)"
|
||||
- name: Lint Verilog source files with Verilator for ${{ matrix.config }}
|
||||
uses: librecores/ci-fusesoc-action@master
|
||||
with:
|
||||
command: 'run'
|
||||
core: 'lowrisc:ibex:ibex_core_tracing'
|
||||
target: 'lint'
|
||||
tool: 'verilator'
|
||||
core-arguments: ${{ steps.config_opts.outputs.options }}
|
||||
pre-run-command: pip3 install -r python-requirements.txt
|
Loading…
Add table
Add a link
Reference in a new issue