Skip to content

Commit

Permalink
Merge pull request #204 from jamesottaway/main
Browse files Browse the repository at this point in the history
Generate Gerbers for 3x5 PCB plates
  • Loading branch information
foostan authored Nov 11, 2023
2 parents ac454d2 + 54ea84e commit fbb146f
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 26 deletions.
24 changes: 18 additions & 6 deletions .github/workflows/release-corne-cherry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,32 +12,44 @@ jobs:
- uses: actions/checkout@v2

- name: Export corne-cherry gerber
uses: nerdyscout/[email protected]
uses: INTI-CMNB/KiBot@v2_k6
with:
config: .kiplot.yml
dir: corne-cherry/gerber
board: corne-cherry/pcb/corne-cherry.kicad_pcb
schema: corne-cherry/pcb/corne-cherry.sch
schema: corne-cherry/pcb/corne-cherry.kicad_sch
- name: Export top plate gerber
uses: nerdyscout/[email protected]
uses: INTI-CMNB/KiBot@v2_k6
with:
config: .kiplot.yml
dir: plates/pcb/top/gerber
board: plates/pcb/top/corne-top-plate.kicad_pcb
schema: plates/pcb/top/corne-top-plate.sch
- name: Export bottom plate gerber
uses: nerdyscout/[email protected]
uses: INTI-CMNB/KiBot@v2_k6
with:
config: .kiplot.yml
dir: plates/pcb/bottom/gerber
board: plates/pcb/bottom/corne-bottom-plate.kicad_pcb
schema: plates/pcb/bottom/corne-bottom-plate.sch
- name: Export top plate mini gerber
uses: INTI-CMNB/KiBot@v2_k6
with:
config: .kiplot.yml
dir: plates/pcb/top-mini/gerber
board: plates/pcb/top-mini/corne-top-plate.kicad_pcb
- name: Export bottom plate mini gerber
uses: INTI-CMNB/KiBot@v2_k6
with:
config: .kiplot.yml
dir: plates/pcb/bottom-mini/gerber
board: plates/pcb/bottom-mini/corne-bottom-plate.kicad_pcb

- name: Zip Gerber files
run: |
zip -r --junk-paths corne-cherry-gerber.zip corne-cherry/gerber
zip -r --junk-paths plates-top-gerber.zip plates/pcb/top/gerber
zip -r --junk-paths plates-top-mini-gerber.zip plates/pcb/top-mini/gerber
zip -r --junk-paths plates-bottom-gerber.zip plates/pcb/bottom/gerber
zip -r --junk-paths plates-bottom-mini-gerber.zip plates/pcb/bottom-mini/gerber
zip -r --junk-paths plates.zip plates/common
- name: Release to GitHub
Expand Down
24 changes: 18 additions & 6 deletions .github/workflows/release-corne-chocolate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,32 +12,44 @@ jobs:
- uses: actions/checkout@v2

- name: Export corne-chocolate gerber
uses: nerdyscout/[email protected]
uses: INTI-CMNB/KiBot@v2_k6
with:
config: .kiplot.yml
dir: corne-chocolate/gerber
board: corne-chocolate/pcb/corne-chocolate.kicad_pcb
schema: corne-chocolate/pcb/corne-chocolate.sch
schema: corne-chocolate/pcb/corne-chocolate.kicad_sch
- name: Export top plate gerber
uses: nerdyscout/[email protected]
uses: INTI-CMNB/KiBot@v2_k6
with:
config: .kiplot.yml
dir: plates/pcb/top/gerber
board: plates/pcb/top/corne-top-plate.kicad_pcb
schema: plates/pcb/top/corne-top-plate.sch
- name: Export bottom plate gerber
uses: nerdyscout/[email protected]
uses: INTI-CMNB/KiBot@v2_k6
with:
config: .kiplot.yml
dir: plates/pcb/bottom/gerber
board: plates/pcb/bottom/corne-bottom-plate.kicad_pcb
schema: plates/pcb/bottom/corne-bottom-plate.sch
- name: Export top plate mini gerber
uses: INTI-CMNB/KiBot@v2_k6
with:
config: .kiplot.yml
dir: plates/pcb/top-mini/gerber
board: plates/pcb/top-mini/corne-top-plate.kicad_pcb
- name: Export bottom plate mini gerber
uses: INTI-CMNB/KiBot@v2_k6
with:
config: .kiplot.yml
dir: plates/pcb/bottom-mini/gerber
board: plates/pcb/bottom-mini/corne-bottom-plate.kicad_pcb

- name: Zip Gerber files
run: |
zip -r --junk-paths corne-chocolate-gerber.zip corne-chocolate/gerber
zip -r --junk-paths plates-top-gerber.zip plates/pcb/top/gerber
zip -r --junk-paths plates-top-mini-gerber.zip plates/pcb/top-mini/gerber
zip -r --junk-paths plates-bottom-gerber.zip plates/pcb/bottom/gerber
zip -r --junk-paths plates-bottom-mini-gerber.zip plates/pcb/bottom-mini/gerber
zip -r --junk-paths plates.zip plates/common
- name: Release to GitHub
Expand Down
24 changes: 18 additions & 6 deletions .github/workflows/release-corne-classic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,32 +12,44 @@ jobs:
- uses: actions/checkout@v2

- name: Export corne-classic gerber
uses: nerdyscout/[email protected]
uses: INTI-CMNB/KiBot@v2_k6
with:
config: .kiplot.yml
dir: corne-classic/gerber
board: corne-classic/pcb/corne-classic.kicad_pcb
schema: corne-classic/pcb/corne-classic.sch
schema: corne-classic/pcb/corne-classic.kicad_sch
- name: Export top plate gerber
uses: nerdyscout/[email protected]
uses: INTI-CMNB/KiBot@v2_k6
with:
config: .kiplot.yml
dir: plates/pcb/top/gerber
board: plates/pcb/top/corne-top-plate.kicad_pcb
schema: plates/pcb/top/corne-top-plate.sch
- name: Export bottom plate gerber
uses: nerdyscout/[email protected]
uses: INTI-CMNB/KiBot@v2_k6
with:
config: .kiplot.yml
dir: plates/pcb/bottom/gerber
board: plates/pcb/bottom/corne-bottom-plate.kicad_pcb
schema: plates/pcb/bottom/corne-bottom-plate.sch
- name: Export top plate mini gerber
uses: INTI-CMNB/KiBot@v2_k6
with:
config: .kiplot.yml
dir: plates/pcb/top-mini/gerber
board: plates/pcb/top-mini/corne-top-plate.kicad_pcb
- name: Export bottom plate mini gerber
uses: INTI-CMNB/KiBot@v2_k6
with:
config: .kiplot.yml
dir: plates/pcb/bottom-mini/gerber
board: plates/pcb/bottom-mini/corne-bottom-plate.kicad_pcb

- name: Zip Gerber files
run: |
zip -r --junk-paths corne-classic-gerber.zip corne-classic/gerber
zip -r --junk-paths plates-top-gerber.zip plates/pcb/top/gerber
zip -r --junk-paths plates-top-mini-gerber.zip plates/pcb/top-mini/gerber
zip -r --junk-paths plates-bottom-gerber.zip plates/pcb/bottom/gerber
zip -r --junk-paths plates-bottom-mini-gerber.zip plates/pcb/bottom-mini/gerber
zip -r --junk-paths plates.zip plates/common
- name: Release to GitHub
Expand Down
27 changes: 19 additions & 8 deletions .github/workflows/release-corne-light.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,40 +12,51 @@ jobs:
- uses: actions/checkout@v2

- name: Export corne-light gerber
uses: nerdyscout/[email protected]
uses: INTI-CMNB/KiBot@v2_k6
with:
config: .kiplot.yml
dir: corne-light/gerber
board: corne-light/pcb/corne-light.kicad_pcb
schema: corne-light/pcb/corne-light.sch
schema: corne-light/pcb/corne-light.kicad_sch
- name: Export top plate gerber
uses: nerdyscout/[email protected]
uses: INTI-CMNB/KiBot@v2_k6
with:
config: .kiplot.yml
dir: plates/pcb/top/gerber
board: plates/pcb/top/corne-top-plate.kicad_pcb
schema: plates/pcb/top/corne-top-plate.sch
- name: Export bottom plate gerber
uses: nerdyscout/[email protected]
uses: INTI-CMNB/KiBot@v2_k6
with:
config: .kiplot.yml
dir: plates/pcb/bottom/gerber
board: plates/pcb/bottom/corne-bottom-plate.kicad_pcb
schema: plates/pcb/bottom/corne-bottom-plate.sch
- name: Export top plate mini gerber
uses: INTI-CMNB/KiBot@v2_k6
with:
config: .kiplot.yml
dir: plates/pcb/top-mini/gerber
board: plates/pcb/top-mini/corne-top-plate.kicad_pcb
- name: Export bottom plate mini gerber
uses: INTI-CMNB/KiBot@v2_k6
with:
config: .kiplot.yml
dir: plates/pcb/bottom-mini/gerber
board: plates/pcb/bottom-mini/corne-bottom-plate.kicad_pcb
- name: Export top-alps plate gerber
uses: nerdyscout/[email protected]
uses: INTI-CMNB/KiBot@v2_k6
with:
config: .kiplot.yml
dir: plates/pcb/top-alps/gerber
board: plates/pcb/top-alps/corne-top-alps-plate.kicad_pcb
schema: plates/pcb/top-alps/corne-top-alps-plate.sch

- name: Zip Gerber files
run: |
zip -r --junk-paths corne-light-gerber.zip corne-light/gerber
zip -r --junk-paths plates-top-gerber.zip plates/pcb/top/gerber
zip -r --junk-paths plates-top-mini-gerber.zip plates/pcb/top-mini/gerber
zip -r --junk-paths plates-top-alps-gerber.zip plates/pcb/top-alps/gerber
zip -r --junk-paths plates-bottom-gerber.zip plates/pcb/bottom/gerber
zip -r --junk-paths plates-bottom-mini-gerber.zip plates/pcb/bottom-mini/gerber
zip -r --junk-paths plates.zip plates/common
zip -r --junk-paths plates-alps.zip plates/alps
zip -r --junk-paths plates-mini.zip plates/mini
Expand Down

0 comments on commit fbb146f

Please sign in to comment.