File tree Expand file tree Collapse file tree 1 file changed +115
-0
lines changed Expand file tree Collapse file tree 1 file changed +115
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build(platformio)
2+
3+ on :
4+ push :
5+ tags-ignore :
6+ - ' *.*.*'
7+ - ' v*.*.*'
8+ branches :
9+ - ' *'
10+ paths :
11+ - ' src/unit/**.cpp'
12+ - ' src/unit/**.hpp'
13+ - ' src/unit/**.h'
14+ - ' src/unit/**.c'
15+ - ' test/**.cpp'
16+ - ' test/**.hpp'
17+ - ' test/**.h'
18+ - ' test/**.c'
19+ - ' **platformio-build-check.yml'
20+ - ' **platformio.ini'
21+ pull_request :
22+ paths :
23+ - ' src/unit/**.cpp'
24+ - ' src/unit/**.hpp'
25+ - ' src/unit/**.h'
26+ - ' src/unit/**.c'
27+ - ' test/**.cpp'
28+ - ' test/**.hpp'
29+ - ' test/**.h'
30+ - ' test/**.c'
31+ - ' **platformio-build-check.yml'
32+ - ' **platformio.ini'
33+ workflow_dispatch :
34+
35+ jobs :
36+ build :
37+ name : ${{ matrix.board }}:${{ matrix.framework }}:${{ matrix.espressif32 }}
38+ runs-on : ubuntu-latest
39+
40+ strategy :
41+ fail-fast : false
42+ # max-parallel: 1
43+
44+ matrix :
45+ board :
46+ - Core
47+ - Core2
48+ - CoreS3
49+ - Fire
50+ - StampS3
51+ - Dial
52+ - AtomMatrix
53+ - AtomS3
54+ - AtomS3R
55+ - NanoC6
56+ - StickCPlus
57+ - StickCPlus2
58+ - Paper
59+ - CoreInk
60+
61+ framework :
62+ - Arduino
63+
64+ espressif32 :
65+ - latest
66+ # - '5_4_0'
67+ # - '4_4_0'
68+
69+ # exclude:
70+ # - board: CoreS3
71+ # espressif32: '5_4_0'
72+ # - board: CoreS3
73+ # espressif32: '4_4_0'
74+ # - board: StampS3
75+ # espressif32: '5_4_0'
76+ # - board: StampS3
77+ # espressif32: '4_4_0'
78+ # - board: AtomS3
79+ # espressif32: '5_4_0'
80+ # - board: AtomS3
81+ # espressif32: '4_4_0'
82+ # - board: Dial
83+ # espressif32: '5_4_0'
84+ # - board: Dial
85+ # espressif32: '4_4_0'
86+ # - board: NanoC6
87+ # espressif32: '5_4_0'
88+ # - board: NanoC6
89+ # espressif32: '4_4_0'
90+ # - board: StickCPlus
91+ # espressif32: '5_4_0'
92+ # - board: StickCPlus
93+ # espressif32: '4_4_0'
94+ # - board: Paper
95+ # espressif32: '5_4_0'
96+ # - board: Paper
97+ # espressif32: '4_4_0'
98+
99+ steps :
100+ - name : Checkout
101+ uses : actions/checkout@v4
102+ with :
103+ ref : ${{ github.event.pull_request.head.sha }}
104+
105+ - name : Build examples
106+ uses : m5stack/M5Utility/.github/actions/pio_build_test@develop
107+ with :
108+ environments : test_${{ matrix.board }}
109+ # targets:
110+ project-dir : " ./"
111+ project-conf : " ./platformio.ini"
112+ # jobs: 6
113+ # silent: false
114+ # verbose: true
115+ # disable-auto-clean: false
You can’t perform that action at this time.
0 commit comments