test #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Test" | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: ${{ matrix.board }} ${{ matrix.framework_opts }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
max-parallel: 3 | |
matrix: | |
framework_opts: | |
- "type=esp-idf version=recommended platform_version=5.4.0" | |
- "type=arduino version=recommended platform_version=5.4.0" | |
board: | |
- esp32-c3-devkitm-1 | |
- esp32-s3-devkitc-1 | |
- wt32-eth01 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Configure | |
run: ${{matrix.framework_opts}} board=${{matrix.board}} envsubst < test/config.yaml.template > test/config.yaml | |
- name: Compile | |
uses: esphome/[email protected] | |
id: esphome-build | |
with: | |
yaml-file: test/config.yaml |