Skip to content

Update SBT CI to Java-17 only #45

Update SBT CI to Java-17 only

Update SBT CI to Java-17 only #45

Workflow file for this run

name: CI
on:
pull_request:
jobs:
fma-test:
name: Use testfloat to test hardfloat
runs-on: ubuntu-latest
strategy:
matrix:
chisel: ["3.5.6", "3.6.0", "5.0.0"]
steps:
- uses: actions/checkout@v2
with:
submodules: 'true'
- uses: cachix/install-nix-action@v19
with:
install_url: https://releases.nixos.org/nix/nix-2.13.3/install
nix_path: nixpkgs=channel:nixos-unstable
- name: run test
run: |
nix --experimental-features 'nix-command flakes' develop -c mill -j 0 'hardfloatdut[${{ matrix.chisel }}].test'
sbt-test:
name: Use testfloat to test hardfloat (with SBT)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup JDK
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
cache: sbt
- uses: sbt/setup-sbt@v1
- name: Build and test
shell: bash
run: |
sudo apt install -y verilator
make test