Skip to content

Commit 98c86f3

Browse files
committed
use tools from chipflow-lib
1 parent 1f6b533 commit 98c86f3

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/main.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,20 +63,25 @@ jobs:
6363
matrix:
6464
dry: [true, false]
6565
repo:
66-
- name: "chipflow-examples"
66+
- name: "ChipFlow/chipflow-examples"
6767
design: "minimal"
68-
- name: "chipflow-test-socs"
68+
- name: "ChipFlow/chipflow-test-socs"
6969
design: "sram"
7070
env:
7171
DRY: ${{ matrix.dry && '--dry-run' || '' }}
7272
IS_DRY: ${{ matrix.dry && '(dry run)' || '' }}
7373
name: ${{ matrix.dry && 'Test Submit - Dry run' || 'Test submit' }}
7474

7575
steps:
76+
- name: Check out source code
77+
uses: actions/checkout@v4
78+
with:
79+
path: ${{ github.repo }}
80+
7681
- name: Check out ${{ matrix.repo.name }}
7782
uses: actions/checkout@v4
7883
with:
79-
repository: ChipFlow/${{ matrix.repo.name }}
84+
repository: ${{ matrix.repo.name }}
8085
fetch-depth: 0
8186
path: ${{ matrix.repo.name }}
8287

@@ -97,7 +102,7 @@ jobs:
97102
working-directory: ./${{ matrix.repo.name }}
98103
if: github.event_name == 'pull_request'
99104
run: |
100-
pdm run tools/gen_overrides.py ${{github.head_ref}} > overrides.txt
105+
pdm run ../../${{github.repo}}/tools/gen_overrides.py ${{github.head_ref}} > overrides.txt
101106
echo "Generated overrides:"
102107
cat overrides.txt
103108

0 commit comments

Comments
 (0)