kicad_automation/.github/workflows/kibot.yml

49 lines
1.1 KiB
YAML
Raw Normal View History

2024-02-22 20:42:06 -07:00
name: kibot
2024-02-22 20:46:08 -07:00
on: [push]
# push:
# paths:
# - '**.sch'
# - '**.kicad_pcb'
# pull_request:
# paths:
# - '**.sch'
# - '**.kicad_pcb'
2024-02-22 20:42:06 -07:00
jobs:
ERC:
runs-on: ubuntu-latest
2024-02-22 21:02:10 -07:00
container: ghcr.io/inti-cmnb/kicad7_auto_full:latest
2024-02-22 20:42:06 -07:00
steps:
2024-02-22 20:47:44 -07:00
- uses: actions/checkout@v4
2024-02-22 20:42:06 -07:00
- name: Run ERC
run: |
[ -f *.sch ] && kiplot -d Fabrication -s update_xml,run_drc -i
- name: Retrieve results
uses: actions/upload-artifact@v1
with:
name: ERC_Output
path: Fabrication
# example:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: INTI-CMNB/KiBot@v2
# with:
# # Required - kibot config file
# config: config.kibot.yaml
# # optional - prefix to output defined in config
# dir: output
# # optional - schematic file
# schema: 'schematic.sch'
# # optional - PCB design file
# board: 'pcb.kicad_pcb'
# - name: upload results
# uses: actions/upload-artifact@v2
# with:
# name: output
# path: output