generated from ElectronicCats/Template-Project-KiCAD-CI
-
Notifications
You must be signed in to change notification settings - Fork 7
55 lines (45 loc) · 1018 Bytes
/
action_drc.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
name: "DRC and ERC using GitHub actions"
# Controls when the action will run.
on:
push:
paths:
- '*.kicad_sch'
- '*.kicad_pcb'
pull_request:
paths:
- '*.kicad_sch'
- '*.kicad_pcb'
jobs:
ERC:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run ERC
uses: INTI-CMNB/KiBot@v2_k6
with:
kicad: 5
dir: hardware
skip: run_drc
targets: __NONE__
- name: Retrieve results
uses: actions/upload-artifact@v2
with:
name: ERC_Output
path: hardware
DRC:
runs-on: ubuntu-latest
needs: ERC
steps:
- uses: actions/checkout@v2
- name: Run DRC
uses: INTI-CMNB/KiBot@v2_k6
with:
kicad: 5
dir: hardware
skip: run_erc
targets: __NONE__
- name: Retrieve results
uses: actions/upload-artifact@v1
with:
name: DRC_Output
path: hardware