Skip to content

Commit

Permalink
Add initial CI with cocotb tests
Browse files Browse the repository at this point in the history
Signed-off-by: Tomasz Gorochowik <[email protected]>
  • Loading branch information
tgorochowik committed Dec 16, 2024
1 parent f8118c1 commit ee1594d
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Run Tests

on:
push:

jobs:
build:
name: Build
runs-on: ubuntu-latest
env:
DEBIAN_FRONTEND: "noninteractive"
steps:
- name: Install dependencies
run: |
sudo apt -qqy update && sudo apt -qqy --no-install-recommends install help2man libfl-dev
- name: Setup repository
uses: actions/checkout@v4

- name: Install Pyenv
run: |
./install.sh
- name: Build Verilator
run: |
git clone https://github.com/verilator/verilator -b v5.024
cd verilator
autoconf
./configure
make -j$(nproc)
make install
verilator --version
- name: Run Tests
run: |
make install-uvm
source activate.sh
make tests

0 comments on commit ee1594d

Please sign in to comment.