Skip to content

Commit b9d5af4

Browse files
committed
Installs PyRDL in CI without ARC
Modifies the PyRDL installation process to allow installation within the CI environment, even when ARC is not explicitly installed. This change ensures that PyRDL can be installed and tested in CI without requiring a full ARC installation, streamlining the CI workflow.
1 parent 3cd4c0c commit b9d5af4

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

devtools/install_all.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,11 @@ else
9797
echo ":information_source: CI detected or --no-arc flag set. Skip cleaning ARC installation."
9898
fi
9999

100-
# 3) PyRDL (depends on ARC)
101-
if [[ $ARC_INSTALLED == true ]]; then
100+
# 3) PyRDL (needs arc_env, but not ARC install)
101+
if [[ "${CI:-false}" == "true" ]]; then
102+
echo "=== Installing PyRDL (CI) ==="
103+
bash devtools/install_pyrdl.sh
104+
elif [[ $ARC_INSTALLED == true ]]; then
102105
echo "=== Installing PyRDL ==="
103106
bash devtools/install_pyrdl.sh
104107
else

0 commit comments

Comments
 (0)