Skip to content

Commit

Permalink
Add CI action to run basic testbench
Browse files Browse the repository at this point in the history
  • Loading branch information
olofk committed May 2, 2024
1 parent 78c8aef commit 5df217f
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/sim.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Run basic testbench

on: [push, pull_request]

jobs:
lint:
runs-on: ubuntu-latest
name: Basic testbench
env:
REPO : VeeRwolf
VLNV : veerwolf
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
fetch-depth: 0
path: VeeRwolf
- run: sudo apt install verilator
- run: pip3 install fusesoc
- run: fusesoc library add fusesoc-cores https://github.com/fusesoc/fusesoc-cores
- run: fusesoc library add $REPO $GITHUB_WORKSPACE/$REPO
- run: fusesoc run --target=sim $VLNV --timeout=20000

0 comments on commit 5df217f

Please sign in to comment.