Skip to content

Commit

Permalink
CI: Support orfs_canonicalize in scripts testing dependency targets
Browse files Browse the repository at this point in the history
Signed-off-by: Eryk Szpotanski <[email protected]>
  • Loading branch information
eszpotanski committed Aug 16, 2024
1 parent 28a719a commit e50276b
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/scripts/build_local_target.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e

target_name=${TARGET:-"tag_array_64x184"}
if [[ -z "$STAGES" ]]; then
STAGES=("synth" "floorplan" "place" "cts")
STAGES=("canonicalize" "synth" "floorplan" "place" "cts")
else
eval "STAGES=($STAGES)"
fi
Expand All @@ -21,10 +21,14 @@ do
fi
if [[ -z $SKIP_RUN ]] ; then
stages=()
if [[ $stage == "synth" ]]; then
stages+=("do-yosys-canonicalize" "do-yosys")
if [[ $stage == "canonicalize" ]]; then
stages+=("do-yosys-canonicalize")
else
if [[ $stage == "synth" ]]; then
stages+=("do-yosys")
fi
stages+=("do-${stage}")
fi
stages+=("do-${stage}")
for local_stage in "${stages[@]}"
do
echo "[${target_name}] ${local_stage}: Run make script"
Expand Down

0 comments on commit e50276b

Please sign in to comment.