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:
commit
0e71a9397d
|
@ -10,6 +10,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
outputs:
|
||||||
matrix: ${{ steps.generate.outputs.matrix }}
|
matrix: ${{ steps.generate.outputs.matrix }}
|
||||||
|
surelog-matrix: ${{ steps.generate-surelog.outputs.matrix }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
@ -20,6 +21,10 @@ jobs:
|
||||||
id: generate
|
id: generate
|
||||||
run: ./.github/scripts/generate_job_matrix.py '${{ github.repository }}'
|
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:
|
Test:
|
||||||
needs: Matrix
|
needs: Matrix
|
||||||
|
@ -71,30 +76,20 @@ jobs:
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: f4pga-examples-bitstreams
|
name: f4pga-examples-bitstreams
|
||||||
path: |
|
path: '**/*.bit'
|
||||||
**/*.bit
|
|
||||||
**/plot_*.svg
|
|
||||||
|
|
||||||
Matrix-Surelog:
|
- uses: actions/upload-artifact@v3
|
||||||
runs-on: ubuntu-latest
|
with:
|
||||||
outputs:
|
name: f4pga-examples-plots
|
||||||
matrix: ${{ steps.generate.outputs.matrix }}
|
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:
|
Test-Surelog:
|
||||||
needs: Matrix-Surelog
|
needs: Matrix
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
include: ${{ fromJson(needs.Matrix-Surelog.outputs.matrix) }}
|
include: ${{ fromJson(needs.Matrix.outputs.surelog-matrix) }}
|
||||||
runs-on: ${{ matrix.runs-on }}
|
runs-on: ${{ matrix.runs-on }}
|
||||||
name: Surelog frontend - ${{ matrix.fpga-fam }} | ${{ matrix.os }} ${{ matrix.os-version }} | ${{ matrix.example }}
|
name: Surelog frontend - ${{ matrix.fpga-fam }} | ${{ matrix.os }} ${{ matrix.os-version }} | ${{ matrix.example }}
|
||||||
|
|
||||||
|
@ -138,6 +133,9 @@ jobs:
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: f4pga-examples-bitstreams-systemverilog-plugin
|
name: f4pga-examples-bitstreams-systemverilog-plugin
|
||||||
path: |
|
path: '**/*.bit'
|
||||||
**/*.bit
|
|
||||||
**/plot_*.svg
|
- uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: f4pga-examples-plots-systemverilog-plugin
|
||||||
|
path: '**/plot_*.svg'
|
||||||
|
|
Loading…
Reference in New Issue