-
Notifications
You must be signed in to change notification settings - Fork 3
67 lines (60 loc) · 1.78 KB
/
kibot.yml
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
name: "KiCad CI/CD"
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
workflow_dispatch:
push:
paths:
- '**.kicad_sch'
- '**.kicad_pcb'
- '**.kibot.yaml'
- '.github/workflows/kibot.yml'
pull_request:
paths:
- '**.kicad_sch'
- '**.kicad_pcb'
- '**.kibot.yaml'
- '.github/workflows/kibot.yml'
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
kibot:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: generate PCB documentation
uses: INTI-CMNB/KiBot@v2_k7
with:
config: kicad/pcb/config.kibot.yaml
dir: 'documentation'
schema: 'kicad/pcb/le_capybara.kicad_sch'
board: 'kicad/pcb/le_capybara.kicad_pcb'
verbose: 0
continue-on-error: true
- name: generate plate files
uses: INTI-CMNB/KiBot@v2_k7
with:
config: kicad/plate/config.kibot.yaml
dir: 'plate'
board: 'kicad/plate/le_capybara_plate.kicad_pcb'
verbose: 0
continue-on-error: true
- name: generate plate files (3 thumbs)
uses: INTI-CMNB/KiBot@v2_k7
with:
config: kicad/plate_3_thumbs/config.kibot.yaml
dir: 'plate'
board: 'kicad/plate_3_thumbs/plate_3_thumbs.kicad_pcb'
verbose: 0
continue-on-error: true
- name: generate plate files (asymmetric)
uses: INTI-CMNB/KiBot@v2_k7
with:
config: kicad/plate_asym/config.kibot.yaml
dir: 'plate'
board: 'kicad/plate_asym/plate_asym.kicad_pcb'
verbose: 0
continue-on-error: true
- uses: EndBug/add-and-commit@v9
with:
add: 'plate documentation'
message: '[kibot]'