Skip to content

Commit

Permalink
Add Verilator build as action
Browse files Browse the repository at this point in the history
  • Loading branch information
marnovandermaas committed May 20, 2024
1 parent 89180d3 commit c834e70
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:
CMAKE_BUILD_TYPE: Release

jobs:
build:
software:
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -44,3 +44,18 @@ jobs:
make
working-directory: sw/legacy/build

simulator:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Install dependencies
run: |
sudo apt install verilator libelf-dev
pip install -r python-requirements.txt
- name: Build Verilator simulator
run: |
fusesoc --cores-root=. run --target=sim --tool=verilator --setup --build lowrisc:sonata:system --verilator_options="+define+RVFI"

0 comments on commit c834e70

Please sign in to comment.