File tree Expand file tree Collapse file tree 1 file changed +78
-0
lines changed
Expand file tree Collapse file tree 1 file changed +78
-0
lines changed Original file line number Diff line number Diff line change 1+ name : ESP-IDF
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ format-check :
7+ runs-on : ubuntu-latest
8+ container :
9+ image : " espressif/idf:v5.3"
10+ steps :
11+ - uses : actions/checkout@v4
12+ - run : |
13+ . $IDF_PATH/export.sh
14+ idf_tools.py install esp-clang
15+ . $IDF_PATH/export.sh
16+ which clang-format
17+ make format-check
18+
19+ build :
20+ runs-on : ubuntu-latest
21+ strategy :
22+ fail-fast : false
23+ matrix :
24+ version :
25+ - v5.3
26+ target :
27+ - esp32s3
28+ example :
29+ - examples/esp_idf
30+ include :
31+ - version : v5.3
32+ example : jpeg_demo
33+ - version : v5.3
34+ example : papers3_demo
35+
36+ continue-on-error : ${{ matrix.version == 'latest' }}
37+
38+ steps :
39+ - uses : actions/checkout@v4
40+ with :
41+ submodules : ' recursive'
42+ - uses : ' espressif/esp-idf-ci-action@main'
43+ with :
44+ esp_idf_version : ${{ matrix.version }}
45+ target : ${{ matrix.target }}
46+ path : ' examples/${{ matrix.example }}'
47+
48+ build-arduino :
49+ runs-on : ubuntu-latest
50+ container :
51+ image : " espressif/idf:${{ matrix.version }}"
52+ strategy :
53+ fail-fast : false
54+ matrix :
55+ version :
56+ - release-v5.3
57+ example :
58+ - examples/Arduino/show_jpeg
59+ arduino-esp32 :
60+ - 3.1.3
61+
62+ steps :
63+ - name : Install latest git
64+ run : |
65+ apt update -qq && apt install -y -qq git
66+ - name : Checkout repo
67+ uses : actions/checkout@v4
68+ - name : Install Arduino ESP
69+ run : |
70+ cd examples/${{ matrix.example }}
71+ mkdir components && cd components
72+ git clone --depth 1 --recursive --branch ${{ matrix.arduino-esp32 }} https://github.com/espressif/arduino-esp32.git arduino
73+ - name : esp-idf build
74+ run : |
75+ . $IDF_PATH/export.sh
76+ cd examples/${{ matrix.example }}
77+ idf.py build
78+
You can’t perform that action at this time.
0 commit comments