kicad_automation/.github/workflows/kibot.yml

43 lines
891 B
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:
2024-02-22 21:06:35 -07:00
# ERC:
# runs-on: ubuntu-latest
# # container: ghcr.io/inti-cmnb/kicad7_auto_full:latest
# # container: setsoft/kicad_debian:latest
2024-02-22 20:42:06 -07:00
2024-02-22 21:06:35 -07:00
# steps:
# - uses: actions/checkout@v4
2024-02-22 20:42:06 -07:00
2024-02-22 21:06:35 -07:00
# - name: Run ERC
# run: |
# [ -f *.sch ] && kiplot -d Fabrication -s update_xml,run_drc -i
2024-02-22 20:42:06 -07:00
2024-02-22 21:06:35 -07:00
# - name: Retrieve results
# uses: actions/upload-artifact@v1
2024-02-22 20:42:06 -07:00
# with:
2024-02-22 21:06:35 -07:00
# name: ERC_Output
# path: Fabrication
example:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
2024-02-22 21:21:32 -07:00
- uses: INTI-CMNB/KiBot@v2_k7
2024-02-22 21:06:35 -07:00
with:
config: config.kibot.yaml
dir: output
2024-02-22 22:11:47 -07:00
- uses: actions/upload-artifact@v3
2024-02-22 21:06:35 -07:00
with:
name: output
path: output