Skip to content

Commit f518a33

Browse files
committed
Upload config & rtlil artefacts
1 parent 2157e91 commit f518a33

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

.github/workflows/test-examples.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,16 @@ jobs:
2323
environment: ${{ vars.ENVIRONMENT }}
2424
strategy:
2525
matrix:
26-
dry: [true, false]
2726
repo:
2827
- name: "ChipFlow/chipflow-examples"
2928
design: "minimal"
29+
- name: "ChipFlow/chipflow-examples"
30+
design: "mcu-soc"
3031
env:
31-
DRY: ${{ matrix.dry && '--dry-run' || '' }}
32-
is_dry: ${{ matrix.dry && '(dry run)' || '' }}
3332
our_path: ${{ github.workspace}}
3433
test_repo_path: "${{ github.workspace }}/${{ matrix.repo.name }}"
3534

36-
name: ${{ matrix.dry && 'Test Submit - Dry run' || 'Test submit' }}
35+
name: 'Test Submit'
3736

3837
steps:
3938
- name: Check out source code
@@ -101,6 +100,18 @@ jobs:
101100
pdm run chipflow pin lock
102101
pdm sim-check
103102
103+
- name: Submit build dry run
104+
working-directory: ${{ env.test_repo_path }}/${{ matrix.repo.design }}
105+
run: |
106+
set -o pipefail
107+
pdm run chipflow silicon submit --dry-run
108+
109+
- name: Upload build artefacts
110+
uses: actions/upload-artifact@v4
111+
path: |
112+
${{ env.test_repo_path }}/${{ matrix.repo.design }}/rtlil
113+
${{ env.test_repo_path }}/${{ matrix.repo.design }}/config
114+
104115
- name: Submit build ${{ env.is_dry }}
105116
working-directory: ${{ env.test_repo_path }}/${{ matrix.repo.design }}
106117
run: |

0 commit comments

Comments
 (0)