Fix for platform IO vs arduino lib #11
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: ESP-IDF CI Node | |
on: | |
workflow_call: | |
inputs: | |
target_path: | |
type: string | |
description: 'Path value to select a specific target in the matrix' | |
required: true | |
push: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
version: | |
- name: v44_build | |
version_number: release-v4.4 | |
target: esp32c3 | |
- name: v51_build | |
version_number: release-v5.1 | |
target: esp32c6 | |
- name: v52_build | |
version_number: release-v5.2 | |
target: esp32c6 | |
- name: v53_build | |
version_number: release-v5.3 | |
target: esp32c6 | |
path: | |
- name: examples/espidf/sleeping_node | |
steps: | |
- if: github.event_name == 'workflow_call' && matrix.path.name != inputs.target_path | |
run: exit 0 | |
- uses: actions/checkout@v4.1.1 | |
- name: ESP-IDF Build | |
uses: espressif/esp-idf-ci-action@v1 | |
with: | |
esp_idf_version: ${{ matrix.version.version_number }} | |
target: ${{ matrix.version.target }} | |
path: ${{ matrix.path.name }} |