-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (39 loc) · 1.1 KB
/
espidf.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
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
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 }}