Skip to content

Commit

Permalink
split yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Strooom committed Nov 27, 2024
1 parent d52cb14 commit 23cb0cc
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 27 deletions.
31 changes: 4 additions & 27 deletions .github/kibot/main.kibot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,33 +5,10 @@ kibot:

import:
- file: preflights.kibot.yaml
- file: schematic.kibot.yaml
- file: bom.kibot.yaml
- file: pcb.kibot.yaml
- file: renders.kibot.yaml

preflight:
set_text_variables:
- variable: "majorVersion"
command: "echo $MAJORVERSIONDIGIT"
- variable: "minorVersion"
command: "echo $MINORVERSIONDIGIT"
- variable: "releaseDate"
command: "echo $BUILDTIMESTAMP"
- variable: "releaseDateShort"
command: "echo $BUILDTIMESTAMPSHORT"
check_zone_fills: true
erc:
category: 'schematics'
dir: 'reports'
format: 'HTML, RPT'
output: 'schematic electrical-rule-check report.%x'
drc:
category: 'pcb'
dir: 'reports'
format: 'HTML, RPT'
output: 'PCB design-rule-check report.%x'
update_xml: true
# - file: schematic.kibot.yaml
# - file: bom.kibot.yaml
# - file: pcb.kibot.yaml
# - file: renders.kibot.yaml

outputs:
# Schematic outputs
Expand Down
22 changes: 22 additions & 0 deletions .github/kibot/preflights.kibot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
preflight:
set_text_variables:
- variable: "majorVersion"
command: "echo $MAJORVERSIONDIGIT"
- variable: "minorVersion"
command: "echo $MINORVERSIONDIGIT"
- variable: "releaseDate"
command: "echo $BUILDTIMESTAMP"
- variable: "releaseDateShort"
command: "echo $BUILDTIMESTAMPSHORT"
check_zone_fills: true
erc:
category: 'schematics'
dir: 'reports'
format: 'HTML, RPT'
output: 'schematic electrical-rule-check report.%x'
drc:
category: 'pcb'
dir: 'reports'
format: 'HTML, RPT'
output: 'PCB design-rule-check report.%x'
update_xml: true

0 comments on commit 23cb0cc

Please sign in to comment.