ci: merge job Matrix-Surelog into Matrix

Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
This commit is contained in:
Unai Martinez-Corral 2022-05-31 10:26:34 +02:00
parent be210fbebc
commit a3023c65d6
1 changed files with 7 additions and 15 deletions

View File

@ -10,6 +10,7 @@ jobs:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.generate.outputs.matrix }}
surelog-matrix: ${{ steps.generate-surelog.outputs.matrix }}
steps:
@ -20,6 +21,10 @@ jobs:
id: generate
run: ./.github/scripts/generate_job_matrix.py '${{ github.repository }}'
- name: Generate examples matrix
id: generate-surelog
run: ./.github/scripts/generate_job_matrix.py '${{ github.repository }}' Surelog
Test:
needs: Matrix
@ -75,26 +80,13 @@ jobs:
**/*.bit
**/plot_*.svg
Matrix-Surelog:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.generate.outputs.matrix }}
steps:
- name: Setup repository
uses: actions/checkout@v3
- name: Generate examples matrix
id: generate
run: ./.github/scripts/generate_job_matrix.py '${{ github.repository }}' Surelog
Test-Surelog:
needs: Matrix-Surelog
needs: Matrix
strategy:
fail-fast: false
matrix:
include: ${{ fromJson(needs.Matrix-Surelog.outputs.matrix) }}
include: ${{ fromJson(needs.Matrix.outputs.surelog-matrix) }}
runs-on: ${{ matrix.runs-on }}
name: Surelog frontend - ${{ matrix.fpga-fam }} | ${{ matrix.os }} ${{ matrix.os-version }} | ${{ matrix.example }}