Add initial CI with cocotb tests #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Tests | |
on: | |
push: | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
env: | |
DEBIAN_FRONTEND: "noninteractive" | |
steps: | |
- 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 |