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