-
Notifications
You must be signed in to change notification settings - Fork 4
128 lines (117 loc) · 2.63 KB
/
lint.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
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
# Copyright 2024 Tobias Senti
# Solderpad Hardware License, Version 0.51, see LICENSE for details.
# SPDX-License-Identifier: SHL-0.51
name: Lint
on: [push, pull_request, workflow_dispatch]
jobs:
lint-license:
runs-on: self-hosted
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Check License
uses: TheMightyDuckOfDoom/pulp-actions/lint-license@llpyu
with:
license: |
Copyright (\d{4}(-\d{4})?\s)?(Tobias Senti)
(Solderpad Hardware License, Version 0.51|Licensed under the \
Apache License, Version 2.0), see LICENSE for details.
SPDX-License-Identifier: (SHL-0.51|Apache-2.0)
exclude_paths: |
utils/lef_def_parser/*.py
lint-yaml:
runs-on: self-hosted
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Lint YML files
run: make lint-yaml
lint-tcl:
runs-on: self-hosted
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Lint TCL files
run: make lint-tcl
lint-python:
runs-on: self-hosted
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Lint python files
run: |
set +e
make lint-python
lint-json:
runs-on: self-hosted
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Lint JSON files
run: make lint-json
lint-verilog:
runs-on: self-hosted
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Lint verilog files
run: make lint-verilog
lint-markdown:
runs-on: self-hosted
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Lint Markdown files
run: make lint-markdown
pdk-gen:
runs-on: self-hosted
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Generate PDK
run: make pdk/.pdk
-
name: Create Merge Cells
run: make gen-pdk
pdk-lint-tcl:
runs-on: self-hosted
needs: pdk-gen
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Generate PDK
run: make gen-pdk
-
name: Lint TCL files
run: make lint-tcl
pdk-lint-verilog:
runs-on: self-hosted
needs: pdk-gen
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Generate PDK
run: make gen-pdk
-
name: Lint verilog files
run: make lint-verilog