Skip to content

Commit

Permalink
CI: Add tests for open_ targets
Browse files Browse the repository at this point in the history
Signed-off-by: Eryk Szpotanski <[email protected]>
  • Loading branch information
eszpotanski committed Apr 18, 2024
1 parent b1e100d commit a2658c2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/build_local_target.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -e
target_name=${TARGET:-"tag_array_64x184"}
if [[ -z "$STAGES" ]]; then
if [[ "$target_name" == L1MetadataArray_* ]]; then
STAGES=("synth_sdc" "synth" "floorplan" "place" "cts" "grt" "generate_abstract")
STAGES=("synth_sdc" "synth" "floorplan" "place" "cts" "grt" "route" "final" "generate_abstract")
else
STAGES=("synth_sdc" "synth" "memory" "floorplan" "generate_abstract")
fi
Expand Down
14 changes: 13 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ jobs:
- name: build target
run: |
bazel build --subcommands --verbose_failures --sandbox_debug ${{ matrix.STAGE_TARGET }}
- name: open target
if: matrix.STAGE_TARGET == 'L1MetadataArray_full_generate_abstract'
run: |
for stage in "synth" "floorplan" "place" "cts" "route" "final"; do
echo | bazel run --subcommands --verbose_failures --sandbox_debug L1MetadataArray_full_${stage}_open
done
test-make-script-target:
name: Execute sample _make scripts
Expand Down Expand Up @@ -109,8 +115,14 @@ jobs:
run: .github/scripts/build_local_target.sh
- name: build local stage targets - L1MetadataArray_test
env:
TARGET: L1MetadataArray_test
TARGET: L1MetadataArray_test_gds
run: .github/scripts/build_local_target.sh
- name: open target
run: |
for stage in ("open_synth" "floorplan" "place" "cts" "route" "final"); do
bazel build --subcommands --verbose_failures --sandbox_debug L1MetadataArray_test_gds_${stage}_make
echo | bazel-bin/L1MetadataArray_test_gds_${stage}_make open_${stage#open_}
done
test-stage-make-targets:
name: Run ORFS using stage targets and _make scrips
Expand Down

0 comments on commit a2658c2

Please sign in to comment.