This repository has been archived by the owner on Aug 20, 2024. It is now read-only.
Upgrade to Chisel 3.6 #47
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: riscv-mini Tests | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: Scala Unit Tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Tabby OSS Cad Suite (from YosysHQ) | |
uses: YosysHQ/setup-oss-cad-suite@v1 | |
with: | |
osscadsuite-version: '2022-02-02' | |
- name: Setup Scala | |
uses: olafurpg/setup-scala@v11 | |
with: | |
java-version: [email protected] | |
- name: Scala Unit Tests | |
run: sbt "testOnly -- -l IntegrationTest" | |
integration-tests: | |
name: Scala Integration Tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Tabby OSS Cad Suite (from YosysHQ) | |
uses: YosysHQ/setup-oss-cad-suite@v1 | |
with: | |
osscadsuite-version: '2022-02-02' | |
- name: Setup Scala | |
uses: olafurpg/setup-scala@v11 | |
with: | |
java-version: [email protected] | |
- name: Scala Integration Tests | |
run: sbt "testOnly -- -n IntegrationTest" | |
make-integration-tests: | |
name: Makefile based Integration Tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Tabby OSS Cad Suite (from YosysHQ) | |
uses: YosysHQ/setup-oss-cad-suite@v1 | |
with: | |
osscadsuite-version: '2022-02-02' | |
- name: Install CIRCT | |
uses: ./.github/workflows/install-circt | |
with: | |
version: 'firtool-1.37.0' | |
- name: Setup Scala | |
uses: olafurpg/setup-scala@v11 | |
with: | |
java-version: [email protected] | |
- name: Makefile Integration Tests | |
run: make run-tests | |
doc: | |
name: Documentation and Formatting | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Scala | |
uses: olafurpg/setup-scala@v10 | |
- name: Documentation | |
id: doc | |
run: sbt doc | |
- name: Check Formatting | |
run: sbt scalafmtCheckAll | |
all_tests_passed: | |
name: "all tests passed" | |
needs: [test, doc, integration-tests, make-integration-tests] | |
runs-on: ubuntu-latest | |
steps: | |
- run: echo Success! |