1111 branches :
1212 - ' *'
1313 paths :
14- - ' src/unit/ **.cpp'
15- - ' src/unit/ **.hpp'
16- - ' src/unit/ **.h'
17- - ' src/unit/ **.c'
14+ - ' src/**.cpp'
15+ - ' src/**.hpp'
16+ - ' src/**.h'
17+ - ' src/**.c'
1818 - ' examples/UnitUnified/**.ino'
1919 - ' examples/UnitUnified/**.cpp'
2020 - ' examples/UnitUnified/**.hpp'
2121 - ' examples/UnitUnified/**.h'
2222 - ' examples/UnitUnified/**.c'
23- - ' ** arduino-esp-v3-build-check.yml'
23+ - ' .github/workflows/ arduino-esp-v3-build-check.yml'
2424 pull_request :
2525 paths :
26- - ' src/unit/ **.cpp'
27- - ' src/unit/ **.hpp'
28- - ' src/unit/ **.h'
29- - ' src/unit/ **.c'
26+ - ' src/**.cpp'
27+ - ' src/**.hpp'
28+ - ' src/**.h'
29+ - ' src/**.c'
3030 - ' examples/UnitUnified/**.ino'
3131 - ' examples/UnitUnified/**.cpp'
3232 - ' examples/UnitUnified/**.hpp'
3333 - ' examples/UnitUnified/**.h'
3434 - ' examples/UnitUnified/**.c'
35- - ' ** arduino-esp-v3-build-check.yml'
35+ - ' .github/workflows/ arduino-esp-v3-build-check.yml'
3636 workflow_dispatch :
3737
3838defaults :
@@ -47,11 +47,11 @@ jobs:
4747 build :
4848 name : ${{ matrix.unit }}:${{ matrix.sketch }}:${{matrix.board}}@${{matrix.platform-version}}
4949 runs-on : ubuntu-latest
50- timeout-minutes : 5
50+ timeout-minutes : 12
5151
5252 strategy :
5353 fail-fast : false
54- # max-parallel: 1
54+ max-parallel : 20
5555 matrix :
5656 platform-url :
5757 - https://espressif.github.io/arduino-esp32/package_esp32_index.json
@@ -63,15 +63,17 @@ jobs:
6363 - UnitColor
6464
6565 board :
66+ - arduino_nesso_n1
6667 - m5stack_atom
6768 - m5stack_atoms3
6869 - m5stack_capsule
69- # - m5stack_cardputer
70+ - m5stack_cardputer
7071 - m5stack_core
7172 - m5stack_core2
7273 - m5stack_coreink
7374 - m5stack_cores3
7475 - m5stack_dial
76+ - m5stack_dinmeter
7577 - m5stack_fire
7678 - m5stack_nanoc6
7779 - m5stack_paper
@@ -83,13 +85,14 @@ jobs:
8385# - m5stack_stickc
8486 - m5stack_stickc_plus
8587 - m5stack_stickc_plus2
88+ - m5stack_tab5
8689# - m5stack_timer_cam
8790# - m5stack_tough
8891# - m5stack_unit_cam
8992# - m5stack_unit_cams3
9093
9194 platform-version :
92- - 3.0.4
95+ - 3.3.6
9396
9497 platform :
9598 - esp32
@@ -100,19 +103,27 @@ jobs:
100103 steps :
101104 - name : Checkout
102105 uses : actions/checkout@v4
103- with :
104- ref : ${{ github.event.pull_request.head.sha }}
105106
106- # Build
107+ - name : Prepare libraries list
108+ id : libs
109+ run : |
110+ {
111+ echo "yaml<<EOF"
112+ echo "$REQUIRED_LIBRARIES" | tr ',' '\n' | while read -r lib; do
113+ echo "- name: $lib"
114+ done
115+ echo "- source-path: ./"
116+ echo "EOF"
117+ } >> "$GITHUB_OUTPUT"
118+
107119 - name : Compile examples
108- uses : ArminJo/ arduino-test- compile@master
120+ uses : arduino/ compile-sketches@v1
109121 with :
110- arduino-board-fqbn : ${{ matrix.platform }}:${{ matrix.archi }}:${{ matrix.board }}
111- arduino-platform : ${{ matrix.platform }}:${{ matrix.archi }}@${{ matrix.platform-version }}
112- platform-url : ${{ matrix.platform-url }}
113- required-libraries : ${{ env.REQUIRED_LIBRARIES }}
114- extra-arduino-cli-args : ${{ matrix.cli-args }}
115- # build-properties: ${{ toJson(matrix.build-properties) }}
116- sketch-names : ${{ matrix.sketch }}.ino
117- sketch-names-find-start : ${{ env.SKETCH_NAMES_FIND_START }}/${{ matrix.unit }}
118- # sketches-exclude: ${{ matrix.sketches-exclude }}
122+ fqbn : ${{ matrix.platform }}:${{ matrix.archi }}:${{ matrix.board }}
123+ platforms : |
124+ - name: ${{ matrix.platform }}:${{ matrix.archi }}
125+ source-url: ${{ matrix.platform-url }}
126+ version: ${{ matrix.platform-version }}
127+ libraries : ${{ steps.libs.outputs.yaml }}
128+ sketch-paths : |
129+ - ${{ env.SKETCH_NAMES_FIND_START }}/${{ matrix.unit }}/${{ matrix.sketch }}
0 commit comments