Skip to content

reroute switches

reroute switches #44

Workflow file for this run

name: "KiBot Check & Generate"
# Controls when the action will run.
on:
push:
paths:
- '*.kicad_sch'
- '*.kicad_pcb'
- '*.kibot.yaml'
- '.github/workflows/kibot.yml'
pull_request:
paths:
- '*.kicad_sch'
- '*.kicad_pcb'
- '*.kibot.yaml'
- '.github/workflows/kibot.yml'
repository_dispatch:
types: [run_gha]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
ERC:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run ERC
uses: INTI-CMNB/KiBot@v2_dk8
with:
dir: Generated
skip: drc
targets: __NONE__
- name: Retrieve results
uses: actions/upload-artifact@v4
with:
name: ERC_Output
path: Generated/*.html
DRC:
runs-on: ubuntu-latest
needs: ERC
steps:
- uses: actions/checkout@v4
- name: Run DRC
uses: INTI-CMNB/KiBot@v2_dk8
with:
dir: Generated
skip: erc
targets: __NONE__
- name: Retrieve results
uses: actions/upload-artifact@v4
with:
name: DRC_Output
path: Generated/*.html
FLIP:
runs-on: ubuntu-latest
needs: [ERC, DRC]
steps:
- uses: actions/checkout@v4
- uses: INTI-CMNB/KiBot@v2_dk8
with:
dir: default
variant: flip
skip: erc,drc
targets: SCHEMATIC EDGES JLCPCB_GERBERS JLCPCB_DRILL ZIP_FAB
- name: upload schematic
uses: actions/upload-artifact@v4
with:
name: SCHEMATIC_SVG
path: default/*schematic*.svg
- name: upload board outline
uses: actions/upload-artifact@v4
with:
name: BOARD_OUTLINE
path: default/*edges.svg
- name: upload compressed gerbers and drill
uses: actions/upload-artifact@v4
with:
name: SWOON_FLIP
path: default/JLCPCB/*.zip
LEFT:
runs-on: ubuntu-latest
needs: [ERC, DRC, FLIP]
steps:
- uses: actions/checkout@v4
- uses: INTI-CMNB/KiBot@v2_dk8
with:
dir: default
variant: left
skip: erc,drc
targets: JLCPCB_GERBERS JLCPCB_POSITION JLCPCB_BOM STEP ZIP_FAB ZIP_ASSEMBLY
- name: upload step
uses: actions/upload-artifact@v4
with:
name: JLCPCB_STEP
path: default/*.step
- name: upload results
uses: actions/upload-artifact@v4
with:
name: SWOON_LEFT
path: default/swoon_LEFT.zip
RIGHT:
runs-on: ubuntu-latest
needs: [ERC, DRC, FLIP]
steps:
- uses: actions/checkout@v4
# - uses: actions/download-artifact@v4
# with:
# name: JLCPCB_DRILL
- uses: INTI-CMNB/KiBot@v2_dk8
with:
dir: default
variant: right
skip: erc,drc
targets: JLCPCB_GERBERS JLCPCB_DRILL JLCPCB_POSITION JLCPCB_BOM ZIP_FAB ZIP_ASSEMBLY
- name: upload results
uses: actions/upload-artifact@v4
with:
name: SWOON_RIGHT
path: default/swoon_RIGHT.zip
CLEAN:
runs-on: ubuntu-latest
needs: [ERC, DRC, FLIP, LEFT, RIGHT]
steps:
- uses: geekyeggo/delete-artifact@v5
with:
name: |
DRC_Output
ERC_Output