-
Notifications
You must be signed in to change notification settings - Fork 12
43 lines (41 loc) · 1.19 KB
/
build_esp_app.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
name: Build Test Application
on:
workflow_call: {}
workflow_dispatch: {}
jobs:
build:
name: Build Test App
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
espidf_target:
- esp32
- esp32c3
- esp32c6
- esp32h2
- esp32p4
- esp32s2
- esp32s3
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Build Test Application with ESP-IDF
uses: espressif/esp-idf-ci-action@v1
with:
esp_idf_version: "latest" # latest is the default version
target: ${{ matrix.espidf_target }}
path: 'test_app'
- name: Upload files to artifacts for run-target job
uses: actions/upload-artifact@v4
with:
name: test_app_bin_${{ matrix.espidf_target }}
path: |
test_app/build/bootloader/bootloader.bin
test_app/build/partition_table/partition-table.bin
test_app/build/example_test_app.bin
test_app/build/example_test_app.elf
test_app/build/flasher_args.json
if-no-files-found: error