Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/kibot-diff.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
kibot:
version: 1
global:
out_dir: output
preflight:
check_zone_fills: true
erc: false
drc: false

outputs:
- name: Info
type: info

- name: 'print_sch'
type: pdf_sch_print
dir: sch

- name: Diff Schematic
type: diff
dir: sch
options:
only_different: true
old: xxBASE
pcb: false

- name: Diff Layout
type: diff
dir: pcb
options:
only_different: true
old: xxBASE
pcb: true
dpi: 400
67 changes: 67 additions & 0 deletions .github/workflows/kibot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: KiBot

on: [push, pull_request, workflow_dispatch]

jobs:
diffpr:
name: Pull Request Difference
runs-on: ubuntu-latest
if: ${{ github.base_ref }}
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Tag PR base
run: |
git tag xxBASE ${{ github.event.pull_request.base.sha }}
git log -n1 xxBASE
- uses: INTI-CMNB/KiBot@v2_k9
with:
dir: diff
config: .github/kibot-diff.yml
schema: design/Marble.kicad_sch
board: design/Marble.kicad_pcb
verbose: 3
- name: Upload Diff
id: diff
uses: actions/upload-artifact@v4
with:
name: pr-diff
compression-level: 9
if-no-files-found: 'error'
path: diff

basepr:
name: Difference since ${{ matrix.base }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# update me after each release!
base: ["v1.4.3"]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- name: Tag PR base
run: |
git tag xxBASE ${{ matrix.base }}
git log -n1 xxBASE
- uses: INTI-CMNB/KiBot@v2_k9
with:
dir: diff
config: .github/kibot-diff.yml
schema: design/Marble.kicad_sch
board: design/Marble.kicad_pcb
verbose: 3
- name: Upload Diff
id: diff
uses: actions/upload-artifact@v4
with:
name: base-diff
compression-level: 9
if-no-files-found: 'error'
path: diff
Loading