From 3f91009e68335ce5982e6a27ceeaa808f1180b0a Mon Sep 17 00:00:00 2001 From: Brendan Haines Date: Thu, 22 Feb 2024 20:42:06 -0700 Subject: [PATCH] start kibot stuff --- .github/workflows/kibot.yaml | 49 ++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 .github/workflows/kibot.yaml diff --git a/.github/workflows/kibot.yaml b/.github/workflows/kibot.yaml new file mode 100644 index 0000000..4e366b4 --- /dev/null +++ b/.github/workflows/kibot.yaml @@ -0,0 +1,49 @@ +name: kibot + +on: + push: + paths: + - '**.sch' + - '**.kicad_pcb' + pull_request: + paths: + - '**.sch' + - '**.kicad_pcb' + +jobs: + ERC: + runs-on: ubuntu-latest + container: setsoft/kicad_auto:latest + + steps: + - uses: actions/checkout@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: + 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 \ No newline at end of file