You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
801 B
34 lines
801 B
name: Build
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- develop
|
|
- main
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
name: Build ${{ 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
|
|
fail-fast: false
|
|
steps:
|
|
- name: Checkout source code
|
|
uses: actions/checkout@v3.3.0
|
|
- name: Build firmware
|
|
uses: esphome/build-action@v1.8.0
|
|
id: esphome-build
|
|
with:
|
|
yaml_file: ${{ matrix.firmware.file }}
|
|
version: latest
|