Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Add testcase for open targets #53

Merged
merged 3 commits into from
May 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ jobs:
TARGET: L1MetadataArray_test
STAGES: synth_sdc synth floorplan place generate_abstract
run: .github/scripts/build_local_target.sh
- name: open targets
run: |
for stage in "synth" "floorplan" "place"; do
eszpotanski marked this conversation as resolved.
Show resolved Hide resolved
echo | bazel-bin/L1MetadataArray_test_${stage}_local_make open_${stage}
done

test-make-scripts-target-docker:
name: Docker flow - test _scripts tartgets
Expand Down Expand Up @@ -147,3 +152,9 @@ jobs:
TARGET: L1MetadataArray_test
STAGES: synth_sdc synth floorplan place generate_abstract
run: .github/scripts/build_local_target.sh
- name: open target
if: matrix.STAGE_TARGET == 'L1MetadataArray_test_generate_abstract'
run: |
for stage in "synth" "floorplan" "place"; do
echo | bazel-bin/L1MetadataArray_test_${stage}_docker open_${stage}
done
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ bazel_dep(name = "bazel-orfs")
git_override(
module_name = "bazel-orfs",
remote = "https://github.com/The-OpenROAD-Project/bazel-orfs.git",
commit = "00c6eae3cfa8bdd127928587f01e9cc38036a18a",
commit = "c3833cbf3e5eb0da1264dc34bcb923ada3c1eb39",
)

# Read: https://github.com/The-OpenROAD-Project/megaboom?tab=readme-ov-file#local-workspace
Expand Down
2 changes: 1 addition & 1 deletion MODULE.bazel.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,11 +170,11 @@ Hello world
A quick test-build:

```
# Build L1MetadataArray macro up to the CTS stage
bazel build L1MetadataArray_test_cts
# Build L1MetadataArray macro up to the placement stage and generate scripts
bazel build L1MetadataArray_test_place_gui

# View results with OpenROAD GUI
bazel run L1MetadataArray_test_cts_gui
./bazel-bin/L1MetadataArray_test_place_docker gui_place
```

Staring at logs
Expand Down