-
-
Notifications
You must be signed in to change notification settings - Fork 21
37 lines (34 loc) · 901 Bytes
/
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
---
name: CI
on:
pull_request:
# Every Monday at 4:00 UTC
schedule:
- cron: "0 4 * * 1"
concurrency:
# yamllint disable-line rule:line-length
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
ci:
name: ${{ matrix.file }} / ${{ matrix.esphome-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
max-parallel: 3
matrix:
file:
- onju-voice
- onju-voice-microwakeword
esphome-version:
- latest
- beta
- dev
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/[email protected]
- name: 🔨 Build firmware - ${{ matrix.esphome-version }}
uses: esphome/[email protected]
with:
yaml-file: esphome/${{ matrix.file }}.yaml
version: ${{ matrix.esphome-version }}