Merge pull request #308 from antmicro/umarcor/split/artifacts

ci: merge job Matrix-Surelog into Matrix and save bitstreams and plots to separated artifacts
This commit is contained in:
Tomasz Michalak 2022-06-01 08:47:07 +02:00 committed by GitHub
commit 0e71a9397d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 18 additions and 20 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
@ -71,30 +76,20 @@ jobs:
- uses: actions/upload-artifact@v3
with:
name: f4pga-examples-bitstreams
path: |
**/*.bit
**/plot_*.svg
path: '**/*.bit'
Matrix-Surelog:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.generate.outputs.matrix }}
- uses: actions/upload-artifact@v3
with:
name: f4pga-examples-plots
path: '**/plot_*.svg'
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 }}
@ -138,6 +133,9 @@ jobs:
- uses: actions/upload-artifact@v3
with:
name: f4pga-examples-bitstreams-systemverilog-plugin
path: |
**/*.bit
**/plot_*.svg
path: '**/*.bit'
- uses: actions/upload-artifact@v3
with:
name: f4pga-examples-plots-systemverilog-plugin
path: '**/plot_*.svg'