2amlogic/klt verify

Run klayout-tools (klt) verbs against a layout in CI -- DRC, layout metrics, and more -- and publish JSON outputs, klt render PNGs, and a rendered step summary, exactly as a local `klt` invocation would.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
layoutPath (relative to the caller's checkout) to the GDSII/OASIS layout file to check, e.g. `layout/my_block.gds`.yes—
blockPath to the block directory the `layout-metrics` verb operates on (see docs/cli/layout-metrics.md's "Block directory layout"). Defaults to the directory containing `layout`.no""
verbsComma-separated list of `klt` verbs to run against `layout`. Supported: drc, precheck, layers, cells, stats, render, layout-metrics. `klt report --format github-summary` is only run over the drc/layout-metrics (and lvs, when added) outputs, since those are the envelope kinds it understands -- see docs/cli/report.md.nodrc,layout-metrics
deckDRC/precheck rule deck (the `--deck` value passed to `klt drc` / `klt precheck` / `klt layout-metrics`): sky130 or gf180mcu.nosky130
fetch-pdkFetch the pinned lambdapdk data set via this action's own scripts/fetch-pdks.sh before running verbs. Off by default: neither `drc` nor `precheck`'s built-in rule decks require it, and it is a multi-hundred-MB download (cache it in the caller workflow with actions/cache keyed on this action's pinned ref if enabling it).nofalse
klt-versionA released klayout-tools version to install from PyPI (e.g. `0.4.2`) instead of building from this action's own pinned source checkout. Leave empty (default) to install exactly the source this action is pinned to, so the action always runs the exact `klt` build it is version-locked to -- the recommended default.no""
python-versionPython version to set up before installing klt.no3.12
output-dirDirectory (relative to the caller's workspace) to write klt JSON outputs and renders to.noklt-action-output
json-artifact-nameName of the uploaded artifact holding every verb's JSON output.noklt-json-outputs
render-artifact-nameName of the uploaded artifact holding `klt render` PNGs.noklt-render
fail-on-findingsFail this action's step (non-zero exit) when any verb reports a non-clean result (DRC violations, precheck failures, ...) or a hard error. Set to "false" to always exit 0 and rely on the `status` output / step summary / JSON artifacts instead.notrue
namedescription
status"success" if every requested verb ran clean, "failure" otherwise (regardless of `fail-on-findings`).
summary-markdown-pathPath (under `output-dir`) to the rendered `klt report --format github-summary` markdown that was appended to $GITHUB_STEP_SUMMARY.
lambdapdk-dirAbsolute path to the fetched lambdapdk tree when `fetch-pdk: true` (empty otherwise). Not on the `klt pdk find`/`list`/`env` resolution path -- see docs/cli/pdk.md's "Scope (v1)" -- so verbs that need it (e.g. `klt stats`/`klt render` against a lambdapdk fixture GDS) must be pointed at it explicitly.