-
Notifications
You must be signed in to change notification settings - Fork 16
39 lines (37 loc) · 1.19 KB
/
ci.yaml
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
# Build component for different platforms
name: build CI test
on:
push:
pull_request:
branches: [ "master", "dev" , "experimental" ]
jobs:
tests:
name: Building ${{ matrix.file }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
file:
- tests/esp32-arduino-hon-ethernet.yaml
- tests/esp32-arduino-hon-wifi.yaml
- tests/esp32-arduino-smartair2-ethernet.yaml
- tests/esp32-arduino-smartair2-wifi.yaml
- tests/esp32-idf-hon-ethernet.yaml
- tests/esp32-idf-hon-wifi.yaml
- tests/esp32-idf-smartair2-ethernet.yaml
- tests/esp32-idf-smartair2-wifi.yaml
- tests/esp8266-hon-wifi.yaml
- tests/esp8266-smartair2-wifi.yaml
- tests/rpipicow-hon-wifi.yaml
- tests/rpipicow-smartair2-wifi.yaml
- tests/esp8266-simple-smartair2.yaml
- tests/esp8266-simple-hon.yaml
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Install esphome
run: pip3 install -U esphome
- name: Version esphome
run: esphome version
- name: Build ESPHome config
run: esphome compile ${{ matrix.file }}