This commit is contained in:
parent
ffb7b59a49
commit
ea103b4bbd
60
.github/workflows/kibot.yml
vendored
60
.github/workflows/kibot.yml
vendored
|
@ -11,40 +11,40 @@ on: [push]
|
||||||
# - '**.kicad_pcb'
|
# - '**.kicad_pcb'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ERC:
|
# ERC:
|
||||||
runs-on: ubuntu-latest
|
|
||||||
# container: ghcr.io/inti-cmnb/kicad7_auto_full:latest
|
|
||||||
# container: setsoft/kicad_debian:latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- 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
|
# runs-on: ubuntu-latest
|
||||||
|
# # container: ghcr.io/inti-cmnb/kicad7_auto_full:latest
|
||||||
|
# # container: setsoft/kicad_debian:latest
|
||||||
|
|
||||||
# steps:
|
# steps:
|
||||||
# - uses: actions/checkout@v2
|
# - uses: actions/checkout@v4
|
||||||
# - uses: INTI-CMNB/KiBot@v2
|
|
||||||
|
# - name: Run ERC
|
||||||
|
# run: |
|
||||||
|
# [ -f *.sch ] && kiplot -d Fabrication -s update_xml,run_drc -i
|
||||||
|
|
||||||
|
# - name: Retrieve results
|
||||||
|
# uses: actions/upload-artifact@v1
|
||||||
# with:
|
# with:
|
||||||
# # Required - kibot config file
|
# name: ERC_Output
|
||||||
# config: config.kibot.yaml
|
# path: Fabrication
|
||||||
# # optional - prefix to output defined in config
|
|
||||||
# dir: output
|
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
|
# # optional - schematic file
|
||||||
# schema: 'schematic.sch'
|
# schema: 'schematic.sch'
|
||||||
# # optional - PCB design file
|
# # optional - PCB design file
|
||||||
# board: 'pcb.kicad_pcb'
|
# board: 'pcb.kicad_pcb'
|
||||||
# - name: upload results
|
- name: upload results
|
||||||
# uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
# with:
|
with:
|
||||||
# name: output
|
name: output
|
||||||
# path: output
|
path: output
|
Loading…
Reference in New Issue
Block a user