From e50276b523be0bb37e0aad40abec55ff9bd96b62 Mon Sep 17 00:00:00 2001 From: Eryk Szpotanski Date: Fri, 16 Aug 2024 15:53:18 +0200 Subject: [PATCH] CI: Support orfs_canonicalize in scripts testing dependency targets Signed-off-by: Eryk Szpotanski --- .github/scripts/build_local_target.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/scripts/build_local_target.sh b/.github/scripts/build_local_target.sh index ea6520f..ac51267 100755 --- a/.github/scripts/build_local_target.sh +++ b/.github/scripts/build_local_target.sh @@ -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 @@ -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"