Skip to content

Commit

Permalink
Merge pull request #253 from KrystalDelusion/ci
Browse files Browse the repository at this point in the history
Adding ci.yml
  • Loading branch information
KrystalDelusion authored Mar 26, 2024
2 parents a7b56fc + 640c4e0 commit 9690f5a
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/ci.yml
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

0 comments on commit 9690f5a

Please sign in to comment.