Bump to Chisel 6, migrate to svsim #81
Workflow file for this run
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: Continuous Integration | |
on: | |
push: | |
tags: ['*'] | |
branches: ['main'] | |
pull_request: | |
jobs: | |
ci: | |
name: ci | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Cleanup | |
run: sed -i "s/%NAME%/test/g" build.sc | |
- name: Cache Scala | |
uses: coursier/cache-action@v6 | |
- name: Setup Scala | |
uses: coursier/setup-action@v1 | |
with: | |
jvm: adopt:11 | |
apps: sbt mill | |
- name: Install Verilator | |
run: | | |
# Prerequisites: | |
sudo apt install git help2man perl python3 make autoconf g++ flex bison ccache | |
sudo apt install libgoogle-perftools-dev numactl perl-doc | |
sudo apt install libfl2 # Ubuntu only (ignore if gives error) | |
sudo apt install libfl-dev # Ubuntu only (ignore if gives error) | |
sudo apt install zlibc zlib1g zlib1g-dev # Ubuntu only (ignore if gives error) | |
git clone https://github.com/verilator/verilator | |
# Every time you need to build: | |
unsetenv VERILATOR_ROOT # For csh; ignore error if on bash | |
unset VERILATOR_ROOT # For bash | |
cd verilator | |
git checkout v5.012 | |
autoconf | |
./configure | |
make | |
sudo make install | |
- name: SBT Test | |
run: sbt test | |
- name: mill Test | |
run: mill _.test |