Skip to content

fixup! Bump to Chisel 6, migrate to svsim #91

fixup! Bump to Chisel 6, migrate to svsim

fixup! Bump to Chisel 6, migrate to svsim #91

Workflow file for this run

name: Continuous Integration
on:
push:
tags: ['*']
branches: ['main']
pull_request:
env:
verilator-version: v5.012
verilator-install-dir: verilator-install
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: Get Cached Verilator
id: get-cached-verilator
uses: action/cache@v4
with:
path: ${{ env.verilator-install-dir }}
key: verilator-${{ env.verilator-version }}

Check failure on line 34 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yml

Invalid workflow file

You have an error in your yaml syntax on line 34
- name: Install Verilator
if: steps.get-cached-verilator.outputs.cache-hit != 'true'
run: |
sudo apt-get install git help2man perl python3 make autoconf g++ flex bison ccache numactl perl-doc libfl-dev
git clone https://github.com/verilator/verilator
unset VERILATOR_ROOT
cd verilator
git checkout ${{ env.verilator-version }}
autoconf
./configure --prefix=../${{ env.verilator-install-dir }}
make
sudo make install
- name: SBT Test
run: sbt test
- name: mill Test
run: mill _.test