Skip to content

Commit b350aeb

Browse files
committed
test: Relax chipyard dir detection for ci
1 parent 890b21b commit b350aeb

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,10 @@ jobs:
8989
cd sims/vcs
9090
make debug CONFIG=RadianceTapeoutSimConfig
9191
92-
# - name: Run Muon ISA tests
93-
# run: |
94-
# cd "${CHIPYARD_DIR}/generators/radiance"
95-
# python3 test/run_isa_tests.py
92+
- name: Run Muon ISA tests
93+
run: |
94+
cd "${CHIPYARD_DIR}/generators/radiance"
95+
python3 test/run_isa_tests.py
9696
9797
- name: Cleanup workspace
9898
if: always()

test/run_isa_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def sweep(config, binary, log_dir, script_dir, chipyard_dir, sim_dir):
139139

140140
def discover_chipyard(script_dir):
141141
root = script_dir.parents[2].resolve()
142-
if root.name != "chipyard":
142+
if not root.name.startswith("chipyard"):
143143
print(f"error: failed to find chipyard root directory from PWD={script_dir}",
144144
file=sys.stderr)
145145
sys.exit(1)

0 commit comments

Comments
 (0)