-
-
Notifications
You must be signed in to change notification settings - Fork 32
61 lines (59 loc) · 1.77 KB
/
main.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
name: Build
on:
workflow_dispatch:
push:
tags:
- develop
pull_request:
jobs:
build-stable:
name: Build stable ${{ matrix.firmware.name }}
runs-on: ubuntu-latest
strategy:
matrix:
firmware:
- file: tests/ulanzi-easy.yaml
name: Ulanzi-Easy
manifest_filename: ulanzi-easy-manifest.json
- file: tests/ehtmxv2-template.yaml
name: EHMTX template
manifest_filename: ehtmxv2-template-manifest.json
- file: tests/ehtmxv2-special.yaml
name: EHMTX template 8266
manifest_filename: ehtmxv2-special-template-manifest.json
devfirmware:
- file: tests/ulanzi-easy.yaml
name: Ulanzi-Easy
manifest_filename: ulanzi-easy-manifest.json
fail-fast: false
steps:
- name: Checkout source code
uses: actions/[email protected]
- name: Build firmware
uses: esphome/[email protected]
id: esphome-build
with:
yaml_file: ${{ matrix.firmware.file }}
version: latest
build-develop:
name: Build develop ${{ matrix.firmware.name }}
runs-on: ubuntu-latest
strategy:
matrix:
firmware:
- file: tests/ulanzi-easy.yaml
name: Ulanzi-Easy
manifest_filename: ulanzi-easy-manifest.json
- file: tests/ehtmxv2-special.yaml
name: EHMTX template 8266
manifest_filename: ehtmxv2-special-template-manifest.json
fail-fast: false
steps:
- name: Checkout source code
uses: actions/[email protected]
- name: Build firmware
uses: esphome/[email protected]
id: esphome-build
with:
yaml_file: ${{ matrix.firmware.file }}
version: beta