mirror of
https://github.com/The-OpenROAD-Project/OpenROAD.git
synced 2026-06-02 01:08:34 +08:00
1.4 KiB
1.4 KiB
CI Workflow
Pull Requests
Never Close/Reopen a PR to Retrigger CI
Never close a public PR to retrigger CI -- gh pr reopen requires admin permissions. To retrigger CI, use empty commits instead:
git commit --allow-empty -s -m "retrigger CI"
gh pr checks Exit Code 8
Exit code 8 means some checks are still pending -- not an error.
Clang-Tidy CI
Clang-Tidy CI can fail not only for code issues but also for unresolved review comments on the PR. Review threads cannot be resolved via API on public repos -- must be done on the GitHub web UI.
CI Artifacts
- Use distinct filenames for public vs private artifacts (never overwrite one with the other)
- Files >4GB may need
7z xorpython3 -m zipfile -einstead ofunzip - When possible, download only specific
metadata.jsonfiles instead of the full archive - Do not commit
metadata-base-ok.json-- we have decided not to manage this file.
Private-to-Staging Sync
To sync a private repo PR to the staging (public) repo:
- Push commits to the private repo (
The-OpenROAD-Project-private/OpenROAD) - Add the label "Ready To Sync Public" on the private repo PR
Important: The label is consumed after each sync (removed by the sync bot). After pushing new commits, you must re-add the label. If the label already exists, remove it first, then re-add to trigger the workflow.