Skip to content

Commit 2b0d662

Browse files
authored
Create kicad.yml
1 parent a4df074 commit 2b0d662

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

.github/workflows/kicad.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
on: [push]
2+
jobs:
3+
Kicad-Generate-Gerbs:
4+
runs-on: ubuntu-latest
5+
steps:
6+
- name: Checkout repo
7+
uses: actions/checkout@v4
8+
9+
- name: Run KiCad actions
10+
uses: actions-for-kicad/kicad-actions@v1.4-k9.0.2
11+
with:
12+
schematic_file_name: ./board/led_matrix.kicad_sch
13+
symbol_libraries: "led_matrix=../lib/symbols/led_matrix.kicad_sym"
14+
run_erc: true
15+
schematic_output_pdf: true
16+
schematic_output_bom: true
17+
18+
pcb_file_name: ./board/led_matrix.kicad_pcb
19+
footprint_libraries: "led_matrix=../lib/footprints/led_matrix.pretty"
20+
run_drc: true
21+
pcb_output_gerbers_and_drill: true
22+
pcb_output_image: true
23+
24+
- name: Upload schematic
25+
uses: actions/upload-artifact@v4
26+
with:
27+
name: Schematic
28+
path: ./board/schematic.pdf
29+
30+
- name: Upload BOM
31+
uses: actions/upload-artifact@v4
32+
with:
33+
name: BOM
34+
path: ./board/bom.csv
35+
36+
- name: Upload gerbers and drill file
37+
uses: actions/upload-artifact@v4
38+
with:
39+
name: Gerbers
40+
path: ./board/gerbers
41+
42+
- name: Upload image render
43+
uses: actions/upload-artifact@v4
44+
with:
45+
name: Image render
46+
path: ./board/pcb.png

0 commit comments

Comments
 (0)