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 Oct 1, 2023
1 parent d48573f commit ad4a0db
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/sim.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
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:
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 ad4a0db

Please sign in to comment.