-
Notifications
You must be signed in to change notification settings - Fork 63
101 lines (94 loc) · 3.17 KB
/
pcb.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
name: Generate Gerber and PCB Files
on:
push:
paths:
- '**.sch'
- '**.kicad_pcb'
- '.github/**.yml' # Trigger on changes to the workflow file
- '**.kibot.yml' # Trigger on changes to the KiBot config file used in the workflow
pull_request:
paths:
- '**.sch'
- '**.kicad_pcb'
- '.github/**.yml' # Trigger on changes to the workflow file
- '**.kibot.yml' # Trigger on changes to the KiBot config file used in the workflow
# To allow for manual triggering from the Action console, add workflow_dispatch
workflow_dispatch:
inputs:
name:
description: 'Reason for build'
required: false
default: 'Generate new gerber files'
jobs:
d1_mini_esp32_wide:
name: D1 Mini Wide - ESP32
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: INTI-CMNB/KiBot@v2_k7
with:
# Required - kibot config file
config: kicad_files/jlcpcb_gerbers.kibot.yaml
# optional - prefix to output defined in config
dir: output
schema: kicad_files/D1 Mini Wide - ESP32/RatGDO-OpenSource-D1Mini-ESP32.kicad_sch
board: kicad_files/D1 Mini Wide - ESP32/RatGDO-OpenSource-D1Mini-ESP32.kicad_pcb
- name: upload results
uses: actions/upload-artifact@v3
with:
name: D1 Mini Wide - ESP32
path: output
d1_mini_esp32:
name: D1 Mini - ESP32
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: INTI-CMNB/KiBot@v2_k7
with:
# Required - kibot config file
config: kicad_files/jlcpcb_gerbers.kibot.yaml
# optional - prefix to output defined in config
dir: output
schema: kicad_files/D1 Mini - ESP32/RatGDO-OpenSource-D1Mini-ESP32.kicad_sch
board: kicad_files/D1 Mini - ESP32/RatGDO-OpenSource-D1Mini-ESP32.kicad_pcb
- name: upload results
uses: actions/upload-artifact@v3
with:
name: D1 Mini - ESP32
path: output
d1_mini_esp8266:
name: D1 Mini - ESP8266
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: INTI-CMNB/KiBot@v2_k7
with:
# Required - kibot config file
config: kicad_files/jlcpcb_gerbers.kibot.yaml
# optional - prefix to output defined in config
dir: output
schema: kicad_files/D1 Mini - ESP8266/RatGDO-OpenSource-D1Mini-ESP8266.kicad_sch
board: kicad_files/D1 Mini - ESP8266/RatGDO-OpenSource-D1Mini-ESP8266.kicad_pcb
- name: upload results
uses: actions/upload-artifact@v3
with:
name: D1 Mini - ESP8266
path: output
bare_esp8266:
name: Bare ESP8266
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: INTI-CMNB/KiBot@v2_k7
with:
# Required - kibot config file
config: kicad_files/jlcpcb_gerbers.kibot.yaml
# optional - prefix to output defined in config
dir: output
schema: kicad_files/Bare ESP8266/RatGDO-OpenSource-Bare-ESP8266.kicad_sch
board: kicad_files/Bare ESP8266/RatGDO-OpenSource-Bare-ESP8266.kicad_pcb
- name: upload results
uses: actions/upload-artifact@v3
with:
name: Bare ESP8266
path: output