Bump to Chisel 6, migrate to svsim #84
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-get install git help2man perl python3 make autoconf g++ flex bison ccache | |
sudo apt-get install numactl perl-doc | |
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 |