Skip to content

Commit

Permalink
testing field check
Browse files Browse the repository at this point in the history
  • Loading branch information
Strooom committed Feb 4, 2025
1 parent 756eae9 commit 7858532
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 43 deletions.
87 changes: 45 additions & 42 deletions .github/kibot/main.kibot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,53 +5,56 @@ kibot:

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

outputs:
- name: 'print_pcb'
dir: 'pcb'
type: pcb_print
options:
scaling: 0
autoscale_margin_x: 10
autoscale_margin_y: 10
format: 'PDF'
plot_sheet_reference: false
pages:
- layers:
- layer: F.Cu
color: '#E23B51'
sort_layers: true
- layers:
- layer: F.Silkscreen
monochrome: true
sort_layers: true
- layers:
- layer: B.Cu
color: '#3361B8'
sort_layers: true
mirror: true
# outputs:
# - name: 'print_pcb'
# dir: 'pcb'
# type: pcb_print
# options:
# scaling: 0
# autoscale_margin_x: 10
# autoscale_margin_y: 10
# format: 'PDF'
# plot_sheet_reference: false
# pages:
# - layers:
# - layer: F.Cu
# color: '#E23B51'
# sort_layers: true
# - layers:
# - layer: F.Silkscreen
# monochrome: true
# sort_layers: true
# - layers:
# - layer: B.Cu
# color: '#3361B8'
# sort_layers: true
# mirror: true

- name: '3D model - .step'
type : step
dir: 'pcb'
# - name: '3D model - .step'
# type : step
# dir: 'pcb'


- name: 'stencil'
comment: "Creates a 3D printable stencil"
type: stencil_3d
dir: pcb
# - name: 'stencil'
# comment: "Creates a 3D printable stencil"
# type: stencil_3d
# dir: pcb

- name: 'Costs'
comment: "Components costs spreadsheet"
type: kicost
dir: bom
options:
output: 'simple'
currency: 'EUR'
distributors: 'mouser'
# - name: 'Costs'
# comment: "Components costs spreadsheet"
# type: kicost
# dir: bom
# options:
# output: 'simple'
# currency: 'EUR'
# distributors: 'mouser'
# translate_fields:
# field: 'mouserPartNumber'
# name: ''
# no_price: true
# no_collapse: true
9 changes: 9 additions & 0 deletions .github/kibot/preflights.kibot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ preflight:
command: "echo $BUILDTIMESTAMP"
- variable: "releaseDateShort"
command: "echo $BUILDTIMESTAMPSHORT"
check_fields:
- field: Reference
regex: '.*'
severity: warning
- field: Value
regex: '.*'
severity: warning
- field: "*"
severity_missing: warning
check_zone_fills: true
erc:
category: 'schematics'
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/checkandgenerate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,9 @@ jobs:
echo $BUILDTIMESTAMPSHORT
- name: run KiBOT
uses: INTI-CMNB/KiBot@v2_k8
uses: INTI-CMNB/KiBot@v2_dk8
# uses: INTI-CMNB/KiBot@v2_k8 : v2_k8 = stable release, v2_dk8 is dev version

with:
# additional_args: '--verbose'
config: .github/kibot/main.kibot.yaml
Expand Down

0 comments on commit 7858532

Please sign in to comment.