-
Notifications
You must be signed in to change notification settings - Fork 755
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #253 from KrystalDelusion/ci
Adding ci.yml
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
on: | ||
push: | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
riscv-formal: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout picorv32.v | ||
uses: actions/checkout@v4 | ||
with: | ||
sparse-checkout: | | ||
picorv32.v | ||
sparse-checkout-cone-mode: false | ||
- name: Checkout riscv-formal | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: YosysHQ/riscv-formal | ||
path: riscv-formal | ||
- name: cp picorv32.v | ||
run: | | ||
cp picorv32.v -t riscv-formal/cores/picorv32 | ||
- uses: YosysHQ/setup-oss-cad-suite@v3 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: make checks | ||
run: | | ||
cd riscv-formal/cores/picorv32 | ||
make checks -j$(nproc) | ||
- name: make check | ||
run: | | ||
cd riscv-formal/cores/picorv32 | ||
make check |