Commit Graph

313 Commits

Author SHA1 Message Date
dependabot[bot]
b82b3dd289 build(deps): bump actions/setup-java from 4 to 5
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 4 to 5.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-15 21:08:07 +00:00
Matt Liberty
42e4f2506e ci: add post-merge auto-format GitHub Actions workflow
Run clang-format, buildifier, black, and tclfmt on files changed
in each push to master, committing any fixes automatically.

Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
2026-04-14 23:57:07 +00:00
Matt Liberty
f202c136c0 Update actions/cache v4 -> v5 and actions/checkout v4 -> v6
Avoids "Node.js 20 actions are deprecated." warnings.

Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
2026-04-12 14:11:55 +00:00
dsengupta0628
06d7d527a7 Merge branch 'master' into update_or_sta_sdcparser_primapocv_take2 2026-04-09 13:56:08 +00:00
Matt Liberty
f6aef4a0cc Merge pull request #10036 from Divinesoumyadip/feat/first-time-contributor-bot
feat: add first-time contributor bot and PR size labeler
2026-04-08 20:35:06 +00:00
dsengupta0628
5756f9c2c5 exclude bazel only from clang-tidy
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-04-08 20:00:11 +00:00
Matt Liberty
05abe0f093 Only check tracked .ok files
On a self-hosted runner the workspace is reused and the submodules may
be present.  This check should not check submodules.

Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
2026-04-08 17:47:28 +00:00
Divinesoumyadip
46e9614633 fix: address review comments - fix broken link and remove discord from pr-message
Signed-off-by: Divinesoumyadip <soumyacode7@gmail.com>
2026-04-07 17:41:32 +00:00
Vitor Bandeira
84d363f87e ci: add gha for tag release
Signed-off-by: Vitor Bandeira <vvbandeira@precisioninno.com>
2026-04-07 11:25:40 -03:00
Divinesoumyadip
d9c39b56f2 feat: add first-time contributor bot and PR size labeler
Signed-off-by: Divinesoumyadip <soumyacode7@gmail.com>
2026-04-02 17:11:30 +00:00
Matt Liberty
08138fb64f Merge pull request #9866 from sparsh-karna/odb/grammar-railroad-diagrams
odb: add LEFDEF grammar railroad diagram documentation
2026-03-30 21:11:11 +00:00
Matt Liberty
954cba577d run stale more often while catching up
Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
2026-03-25 15:32:55 +00:00
Matt Liberty
2ffaa13541 Give the stale action "actions: write" permission to save its state
Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
2026-03-25 03:02:55 +00:00
Song Luar
7f754846b1 chore: modify pull request template for clarity
Updated pull request template to include new options for change types.

fixes #9901 

Signed-off-by: Song Luar <jluar@precisioninno.com>
2026-03-25 09:07:36 +08:00
Sparsh Karna
b9347547b3 Merge branch 'odb/grammar-railroad-diagrams' of https://github.com/sparsh-karna/OpenROAD into odb/grammar-railroad-diagrams 2026-03-25 01:33:44 +05:30
Sparsh Karna
685eb47695 odb: ci: Skip grammar diagram update in private fork
Signed-off-by: Sparsh Karna <sparsh2005karna@gmail.com>
2026-03-25 01:30:25 +05:30
Matt Liberty
ae811e7e6e Add stale issues/PRs workflow
Adds a GitHub Actions workflow using actions/stale@v10 to automatically
label and close inactive issues and pull requests after 60+21 days.

Discussion: #9878
Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
2026-03-24 16:10:20 +00:00
Sparsh Karna
6639525133 odb: Update diagram change detection logic in workflow
Signed-off-by: Sparsh Karna <78959094+sparsh-karna@users.noreply.github.com>
2026-03-23 14:36:39 +05:30
Sparsh Karna
020b626aed odb: address review comments — ET xml parsing, cache validation, java check
Signed-off-by: Sparsh Karna <sparsh2005karna@gmail.com>
2026-03-22 22:48:43 +05:30
Sparsh Karna
06aa958bc0 odb: remove vendored WARs, build ebnf-convert from source in CI
Signed-off-by: Sparsh Karna <sparsh2005karna@gmail.com>
2026-03-22 01:06:27 +05:30
Sparsh Karna
22925eb2ce odb: make 'all' the default target in generate_railroad_diagrams.py
Signed-off-by: Sparsh Karna <sparsh2005karna@gmail.com>
2026-03-22 00:41:02 +05:30
Sparsh Karna
f04832f19d odb: address PR review comments on railroad diagram tooling
- Use **/*.y glob in CI workflow trigger instead of hardcoded lef.y/def.y
  paths so any future grammar additions are covered automatically
- Refactor argument parsing in generate_railroad_diagrams.py to use
  argparse instead of manual sys.argv handling

Signed-off-by: Sparsh Karna <sparsh2005karna@gmail.com>
2026-03-21 19:02:20 +05:30
Sparsh Karna
72cf782346 odb: vendor ebnf-convert and rr WARs; fail fast if tools missing
Place ebnf-convert.war (v0.73) and rr.war (v2.6) in src/odb/doc/tools/
so the script works offline without a Maven Central fetch.

Update ensure_tools() to fail with actionable instructions rather than
silently downloading, and remove tools/ from .gitignore now that the
files are committed.

Signed-off-by: Sparsh Karna <sparsh2005karna@gmail.com>
2026-03-21 16:16:28 +05:30
Sparsh Karna
220c00bbab odb: add LEF/DEF grammar railroad diagram docs
Add SVG railroad diagrams generated directly from lef.y and def.y,
a Python script to regenerate them, Markdown documentation that
embeds the diagrams, and a GitHub Actions workflow that opens a PR
whenever a grammar file changes.

Files added:
- src/odb/doc/generate_railroad_diagrams.py  — converts .y → EBNF →
  individual SVG files using ebnf-convert and rr (downloaded from
  Maven Central on first use; not committed).
- src/odb/doc/images/lef/  — 246 SVGs generated from lef.y
- src/odb/doc/images/def/  — 276 SVGs generated from def.y
- src/odb/doc/LEF_Grammar.md  — documentation with embedded diagrams
- src/odb/doc/DEF_Grammar.md  — documentation with embedded diagrams
- src/odb/doc/.gitignore  — excludes tools/ and intermediate files
- .github/workflows/github-actions-update-grammar-railroad-diagrams.yml
  — auto-regenerates and opens a PR on grammar changes

Resolves #2488

Signed-off-by: Sparsh Karna <sparsh2005karna@gmail.com>
2026-03-21 16:16:28 +05:30
Divinesoumyadip
70b7fa3f70 docs: add type of change and DCO check to PR template
Incorporates reviewer feedback by adding a categorization section and a reminder for DCO sign-off.

Signed-off-by: Divinesoumyadip <soumyacode7@gmail.com>
2026-03-19 16:18:14 +00:00
Divinesoumyadip
7e1c4dae10 chore: Add Pull Request template to standardize and simplify contributor onboarding
Signed-off-by: Divinesoumyadip <soumyacode7@gmail.com>
2026-03-19 07:12:12 +00:00
Øyvind Harboe
ae23a06731 ci: check MODULE.bazel.lock is up to date
Prevents stale MODULE.bazel.lock from being used, as in #9692.

Co-Authored-By: Henner Zeller <h.zeller@acm.org>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2026-03-10 11:49:50 +01:00
Matt Liberty
e7d7ae4a72 Don't run the mac build on the private org
Uses up all the GH minutes

Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
2026-03-06 00:38:08 +00:00
Ethan Mahintorabi
aa3ac6e470 remove if check
Signed-off-by: Ethan Mahintorabi <ethanmoon@google.com>
2026-02-28 05:25:48 +00:00
Ethan Mahintorabi
fb03a40e02 remote dep installer
Signed-off-by: Ethan Mahintorabi <ethanmoon@google.com>
2026-02-28 01:59:56 +00:00
Ethan Mahintorabi
215ece742b add local testing branch
Signed-off-by: Ethan Mahintorabi <ethanmoon@google.com>
2026-02-28 01:58:08 +00:00
Ethan Mahintorabi
e229ca9c84 ci: Adds MacOS Bazel Builder
Signed-off-by: Ethan Mahintorabi <ethanmoon@google.com>
2026-02-28 01:54:22 +00:00
Vitor Bandeira
96ad42d7a7 ci: make clang-tidy adapt to changes
Signed-off-by: Vitor Bandeira <vvbandeira@precisioninno.com>
2026-02-17 17:16:59 -03:00
Vitor Bandeira
1014be225a ci: add boost def to cmake
Signed-off-by: Vitor Bandeira <vvbandeira@precisioninno.com>
2026-01-28 14:24:01 -03:00
Matt Liberty
baea8910a8 Update tclfmt to 0.7.0
Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
2025-12-21 23:47:21 +00:00
Matt Liberty
3def6af2e3 Remove the leading */ from clang-tidy excludes for top level dirs
It causes this failure to match:
exclude: */test/orfs/*, file list now: ['test/orfs/ram_8x7/ram_8x7_sim.cpp']
Checking these files: ['test/orfs/ram_8x7/ram_8x7_sim.cpp']

Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
2025-12-10 20:10:56 +00:00
Matt Liberty
b5ea575271 Exclude */test/orfs/* from clang-tidy
Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
2025-12-10 16:41:17 +00:00
dependabot[bot]
107a780c1d build(deps): bump actions/checkout from 5 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-20 21:26:18 +00:00
Sombrio
4fe39e5280 remove dependabot for updating submodules
Signed-off-by: Sombrio <sombrio@sombrasoft.dev>
2025-10-16 15:12:01 -03:00
Sombrio
60d07ac148 upgrade clang-tidy to 19
Signed-off-by: Sombrio <sombrio@sombrasoft.dev>
2025-10-09 19:05:24 -03:00
Sombrio
32e54ee4e9 added apt_packages back
Signed-off-by: Sombrio <sombrio@sombrasoft.dev>
2025-10-09 17:25:22 -03:00
Sombrio
7e6ae5b8a0 test
Signed-off-by: Sombrio <sombrio@sombrasoft.dev>
2025-10-09 17:23:50 -03:00
Sombrio
dcfeedf8c9 test
Signed-off-by: Sombrio <sombrio@sombrasoft.dev>
2025-10-09 17:22:25 -03:00
Sombrio
298d468db3 pin clang tidy version to 15
Signed-off-by: Sombrio <sombrio@sombrasoft.dev>
2025-10-09 17:19:07 -03:00
Matt Liberty
b6c92cb466 Merge pull request #8501 from The-OpenROAD-Project/dependabot/github_actions/tj-actions/changed-files-47
build(deps): bump tj-actions/changed-files from 46 to 47
2025-10-02 05:21:31 +00:00
Matt Liberty
ea671cb544 Merge pull request #8499 from The-OpenROAD-Project/dependabot/github_actions/actions/checkout-5
build(deps): bump actions/checkout from 4 to 5
2025-10-01 23:30:18 +00:00
dependabot[bot]
b39bc56a62 build(deps): bump tj-actions/changed-files from 46 to 47
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 46 to 47.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v46...v47)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-version: '47'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-01 21:23:27 +00:00
dependabot[bot]
709a27e122 build(deps): bump actions/github-script from 6 to 8
Bumps [actions/github-script](https://github.com/actions/github-script) from 6 to 8.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v6...v8)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-version: '8'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-01 21:20:16 +00:00
dependabot[bot]
fff1d6390a build(deps): bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-01 21:18:29 +00:00
Sombrio
595743d3ac Configure Dependabot for GitHub Actions and Submodules
Signed-off-by: Sombrio <sombrio@sombrasoft.dev>
2025-09-30 22:00:59 -03:00