-
Notifications
You must be signed in to change notification settings - Fork 124
48 lines (44 loc) · 1.24 KB
/
espidf-compile.yml
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
46
47
48
name: Compile ESP-IDF Sketches
on:
pull_request:
push:
workflow_dispatch:
repository_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Build send data example on v4.4
uses: espressif/esp-idf-ci-action@v1
with:
esp_idf_version: v4.4
target: esp32
path: 'examples/0014-espressif_esp32_send_data'
- name: Build process OTA over MQTT example on v4.4
uses: espressif/esp-idf-ci-action@v1
with:
esp_idf_version: v4.4
target: esp32
path: 'examples/0015-espressif_esp32_process_OTA_MQTT'
- name: 'Cleanup build folder'
run: |
ls -la ./
rm -rf ./* || true
rm -rf ./.??* || true
ls -la ./
- name: Build send data example on v5.1
uses: espressif/esp-idf-ci-action@v1
with:
esp_idf_version: v5.1
target: esp32
path: 'examples/0014-espressif_esp32_send_data'
- name: Build process OTA over MQTT example on v5.1
uses: espressif/esp-idf-ci-action@v1
with:
esp_idf_version: v5.1
target: esp32
path: 'examples/0015-espressif_esp32_process_OTA_MQTT'