Skip to content

Commit

Permalink
[Ci/Cd] Add matrix strategy to support 4/8 bus width of AXIS interface.
Browse files Browse the repository at this point in the history
  • Loading branch information
egorman44 committed Aug 24, 2024
1 parent 42aeb9a commit 62b6268
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
bus-width: [4, 8]

steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand Down Expand Up @@ -44,7 +48,7 @@ jobs:
run: sbt compile

- name: Generate Verilog
run: sbt "runMain Rs.GenRsBlockRecovery --axis-clock 156.25 --core-clock 125.00 --symb-width 8 --bus-width 8 --poly 285 --fcr 0 --n-len 255 --k-len 239"
run: sbt "runMain Rs.GenRsBlockRecovery --axis-clock 156.25 --core-clock 125.00 --symb-width 8 --bus-width ${{ matrix.bus-width}} --poly 285 --fcr 0 --n-len 255 --k-len 239"

- name: Upload RsBlockRecovery.sv
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 62b6268

Please sign in to comment.