forked from tarontop/athom-configs
-
Notifications
You must be signed in to change notification settings - Fork 139
58 lines (54 loc) · 1.48 KB
/
ci.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
name: CI
on:
pull_request:
paths:
- '*.yaml'
- '.github/workflows/ci.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
ci:
name: Building ${{ matrix.file }} / ${{ matrix.esphome-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
max-parallel: 3
matrix:
#### Modify below here to match your project ####
file:
- athom-cb02
- athom-garage-door
- athom-mini-switch
- athom-presence-sensor
- athom-relay-board-x1
- athom-relay-board-x2
- athom-relay-board-x4
- athom-relay-board-x8
- athom-rgb-light
- athom-rgbct-light
- athom-rgbw-light
- athom-rgbww-light
- athom-smart-plug-v2
- athom-smart-plug
- athom-sw01-v2
- athom-sw01
- athom-sw02-v2
- athom-sw02
- athom-sw03
- athom-sw04
- athom-wall-outlet
- athom-without-relay-plug
#### Modify above here to match your project ####
esphome-version:
- stable
- beta
- dev
steps:
- name: Checkout source code
uses: actions/checkout@v4.1.7
- name: ESPHome ${{ matrix.esphome-version }}
uses: esphome/build-action@v4.0.3
with:
yaml-file: ${{ matrix.file }}.yaml
version: ${{ matrix.esphome-version }}