Skip to content

Commit

Permalink
Account for Yosys version in test matrices
Browse files Browse the repository at this point in the history
  • Loading branch information
povik committed Jan 20, 2025
1 parent 7355135 commit 16e05e1
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
strategy:
fail-fast: false
matrix:
yosys_version: ["yosys-0.43", "yosys-0.44", "0.45", "0.46", "0.47", "v0.48"]
yosys_version: ["yosys-0.44", "0.45", "0.46", "0.47", "v0.48"]
steps:
- name: Install Dependencies
shell: bash
Expand Down Expand Up @@ -81,12 +81,14 @@ jobs:
- name: Store build artifact
uses: actions/upload-artifact@v4
with:
name: build.tar
name: build-${{ matrix.yosys_version }}.tar
path: build.tar
retention-days: 1
test:
runs-on: ubuntu-latest
strategy:
matrix:
yosys_version: ["yosys-0.44", "0.45", "0.46", "0.47", "v0.48"]
fail-fast: false
needs: [build]
steps:
Expand All @@ -105,11 +107,11 @@ jobs:
- name: Download build artifact
uses: actions/download-artifact@v4
with:
name: build.tar
name: build-${{ matrix.yosys_version }}.tar
- name: Unpack build
shell: bash
run:
tar -xvf build.tar
tar -xvf build-${{ matrix.yosys_version }}.tar
- name: Install Yosys
shell: bash
run: |
Expand All @@ -121,6 +123,8 @@ jobs:
test-croc-boot:
runs-on: ubuntu-24.04
strategy:
matrix:
yosys_version: ["yosys-0.44", "v0.48"]
fail-fast: false
needs: [build]
env:
Expand All @@ -145,11 +149,11 @@ jobs:
- name: Download build artifact
uses: actions/download-artifact@v4
with:
name: build.tar
name: build-${{ matrix.yosys_version }}.tar
- name: Unpack build
shell: bash
run:
tar -xvf build.tar
tar -xvf build-${{ matrix.yosys_version }}.tar
- name: Install Yosys
shell: bash
run: |
Expand Down Expand Up @@ -184,6 +188,7 @@ jobs:
runs-on: ubuntu-24.04
strategy:
matrix:
yosys_version: ["yosys-0.44", "v0.48"]
ip: [black-parrot, bsc-core_tile, cv32e40p, ibex, opentitan, rsd]
fail-fast: false
needs: [build]
Expand All @@ -200,11 +205,11 @@ jobs:
- name: Download build artifact
uses: actions/download-artifact@v4
with:
name: build.tar
name: build-${{ matrix.yosys_version }}.tar
- name: Unpack build
shell: bash
run:
tar -xvf build.tar
tar -xvf build-${{ matrix.yosys_version }}.tar
- name: Install Yosys
shell: bash
run: |
Expand Down

0 comments on commit 16e05e1

Please sign in to comment.