add diff function
Some checks failed
KiBot PCB Generation / generate (push) Failing after 1m12s
KiBot PCB Generation / deploy (push) Has been skipped

This commit is contained in:
2025-09-08 16:06:06 +07:00
parent 997cc53c40
commit 142566c8f4
2 changed files with 39 additions and 0 deletions

View File

@@ -232,6 +232,38 @@ outputs:
output: '%f-report.%x'
do_convert: true
# Schematic diff
- name: 'sch_diff'
comment: "Schematic diff PDF"
type: diff
dir: DIFF
disabled_by_default: false
options:
output: '%f-schematic-diff.%x'
format: PDF
diff_mode: 'red_green'
old: 'HEAD~1'
new: 'HEAD'
cache_dir: '.cache'
add_link_id: true
only_different: true
# PCB diff
- name: 'pcb_diff'
comment: "PCB diff PDF"
type: diff
dir: DIFF
disabled_by_default: false
options:
output: '%f-pcb-diff.%x'
format: PDF
diff_mode: 'red_green'
old: 'HEAD~1'
new: 'HEAD'
cache_dir: '.cache'
pcb: true
only_different: true
# JLCPCB fabrication package
- name: 'jlcpcb_gerbers'
comment: "Gerbers for JLCPCB"