Add test for getmwl, getmrl #57
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: Install dependencies | |
run: | | |
sudo apt -qqy update | |
sudo apt -qqy --no-install-recommends install help2man libfl-dev make g++ git bison flex gperf \ | |
libreadline-dev libbz2-dev autoconf python3-sphinx \ | |
python3-docopt | |
- name: Setup repository | |
uses: actions/checkout@v4 | |
- name: Get Submodules | |
run: | | |
git submodule update --init --recursive | |
- name: Install Pyenv | |
run: | | |
./install.sh | |
- name: Build Icarus | |
run: | | |
git clone https://github.com/steveicarus/iverilog.git | |
cd iverilog | |
git checkout 06077ed026b4d8498d9129a6acfb0b44d0b51f18 | |
sh autoconf.sh | |
./configure | |
make -j$(nproc) | |
sudo make install | |
iverilog -V | |
- name: Build Verilator | |
run: | | |
git clone https://github.com/verilator/verilator -b v5.024 | |
cd verilator | |
autoconf | |
./configure | |
make -j$(nproc) | |
sudo make install | |
verilator --version | |
- name: Run Tests | |
run: | | |
make install-uvm | |
source activate.sh | |
make tests |