-
-
Notifications
You must be signed in to change notification settings - Fork 231
198 lines (182 loc) · 5.12 KB
/
validate_esphome_beta.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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
---
name: Validate ESPHome (beta)
# yamllint disable-line rule:truthy
on:
workflow_dispatch:
concurrency:
# yamllint disable-line rule:line-length
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
code_scan:
name: Code scan (YAML)
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@main
with:
fetch-depth: '0'
- name: Validate nspanel_esphome.yaml
run: yamllint -c "./.rules/yamllint.yml" nspanel_esphome.yaml
build_core:
name: Core
runs-on: "ubuntu-latest"
needs:
- code_scan
steps:
- uses: actions/checkout@main
with:
fetch-depth: '0'
- name: Build core
uses: barndawgie/build-action@v1.9.0
with:
yaml_file: "./.test/esphome_basic.yaml"
version: beta
build_advanced:
name: Advanced
runs-on: "ubuntu-latest"
needs:
- build_core
steps:
- uses: actions/checkout@main
with:
fetch-depth: '0'
- name: Build core+advanced
uses: barndawgie/build-action@v1.9.0
with:
yaml_file: "./.test/esphome_advanced.yaml"
version: beta
build_climate_heat:
name: Climate (heat)
runs-on: "ubuntu-latest"
needs:
- build_core
steps:
- uses: actions/checkout@main
with:
fetch-depth: '0'
- name: Build core+climate_heat
uses: barndawgie/build-action@v1.9.0
with:
yaml_file: "./.test/esphome_climate_heat.yaml"
version: beta
build_climate_cool:
name: Climate (cool)
runs-on: "ubuntu-latest"
needs:
- build_core
steps:
- uses: actions/checkout@main
with:
fetch-depth: '0'
- name: Build core+climate_cool
uses: barndawgie/build-action@v1.9.0
with:
yaml_file: "./.test/esphome_climate_cool.yaml"
version: beta
build_climate_dual:
name: Climate (dual)
runs-on: "ubuntu-latest"
needs:
- build_core
steps:
- uses: actions/checkout@main
with:
fetch-depth: '0'
- name: Build core+climate_dual
uses: barndawgie/build-action@v1.9.0
with:
yaml_file: "./.test/esphome_climate_dual.yaml"
version: beta
build_climate_heat_advanced:
name: Advanced+climate (heat)
runs-on: "ubuntu-latest"
needs:
- build_climate_heat
- build_advanced
steps:
- uses: actions/checkout@main
with:
fetch-depth: '0'
- name: Build core+advanced+climate_heat
uses: barndawgie/build-action@v1.9.0
with:
yaml_file: "./.test/esphome_advanced_climate_heat.yaml"
version: beta
build_climate_cool_advanced_arduino:
name: Arduino
runs-on: "ubuntu-latest"
needs:
- build_climate_cool
- build_advanced
steps:
- uses: actions/checkout@main
with:
fetch-depth: '0'
- name: Build core+advanced+climate_cool+arduino
uses: barndawgie/build-action@v1.9.0
with:
yaml_file: "./.test/esphome_advanced_climate_cool_arduino.yaml"
version: beta
build_climate_dual_esp_idf5:
name: esp-idf v5 & Climate Dual & Bluetooth proxy
runs-on: "ubuntu-latest"
needs:
- build_advanced
- build_climate_dual
steps:
- uses: actions/checkout@main
with:
fetch-depth: '0'
- name: Build core+climate_dual+bt_proxy+esp_idf5
uses: barndawgie/build-action@v1.9.0
with:
yaml_file: "./.test/esphome_advanced_climate_dual_esp_idf5.yaml"
version: beta
build_climate_heat_advanced_customization:
name: Customizations
runs-on: "ubuntu-latest"
needs:
- code_scan
steps:
- uses: actions/checkout@main
with:
fetch-depth: '0'
- name: Build core+advanced+climate_heat+customizations
uses: barndawgie/build-action@v1.9.0
with:
yaml_file: "./.test/esphome_advanced_climate_heat_customizations.yaml"
version: beta
build_prebuilt_firmware:
name: Prebuilt Firmware
runs-on: ubuntu-latest
needs: code_scan
if: github.ref == 'refs/heads/dev' || github.base_ref == 'dev'
steps:
- uses: actions/checkout@main
with:
fetch-depth: '0'
- name: Build ESPHome Prebuilt Firmware
uses: barndawgie/build-action@v1.9.0
with:
yaml_file: prebuilt/nspanel_esphome_prebuilt.yaml
version: beta
- name: Build ESPHome Prebuilt Wall Display Firmware
uses: barndawgie/build-action@v1.9.0
with:
yaml_file: prebuilt/wall_display.yaml
version: beta
build_climate_cool_bluetooth_proxy:
name: Climate cool & BLE proxy
runs-on: "ubuntu-latest"
needs:
- build_climate_cool
steps:
- uses: actions/checkout@main
with:
fetch-depth: '0'
- name: Build core+climate_cool+bluetooth_proxy
uses: barndawgie/build-action@v1.9.0
with:
yaml_file: "./.test/esphome_climate_cool_bluetooth_proxy.yaml"
version: beta
...