Skip to content

Commit 79448b4

Browse files
committed
Update CI workflows to add new boards and bump platform versions
1 parent f34cde7 commit 79448b4

5 files changed

Lines changed: 36 additions & 57 deletions

File tree

.github/workflows/arduino-esp-v3-build-check.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -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,10 +103,8 @@ 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+
# Build
107108
- name: Compile examples
108109
uses: ArminJo/arduino-test-compile@master
109110
with:

.github/workflows/arduino-m5-build-check.yml

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ jobs:
4848
build:
4949
name: ${{ matrix.unit }}:${{ matrix.sketch }}:${{matrix.board}}@${{matrix.platform-version}}
5050
runs-on: ubuntu-latest
51-
timeout-minutes: 5
51+
timeout-minutes: 12
5252

5353
strategy:
5454
fail-fast: false
55-
# max-parallel: 1
55+
max-parallel: 20
5656
matrix:
5757
platform-url:
5858
- https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/arduino/package_m5stack_index.json
@@ -64,34 +64,44 @@ jobs:
6464
- UnitColor
6565

6666
board:
67+
- arduino_nesso_n1
6768
- m5stack_atom
6869
- m5stack_atoms3
6970
- m5stack_atoms3r
7071
- m5stack_capsule
71-
# - m5stack_cardputer
72+
- m5stack_cardputer
73+
# - m5stack_chain_dualkey
7274
- m5stack_core
7375
- m5stack_core2
7476
- m5stack_coreink
7577
- m5stack_cores3
7678
- m5stack_dial
7779
- m5stack_dinmeter
7880
- m5stack_fire
81+
- m5stack_nano_c6
82+
# - m5stack_nano_h2
7983
- m5stack_paper
84+
- m5stack_papers3
8085
# - m5stack_poe_cam
86+
# - m5stack_powerhub
8187
# - m5stack_stamp_c3
8288
# - m5stack_stamp_pico
8389
- m5stack_stamp_s3
90+
# - m5stack_stamplc
8491
# - m5stack_station
85-
# - m5stack_stickc
92+
- m5stack_stickc
8693
- m5stack_stickc_plus
8794
- m5stack_stickc_plus2
95+
- m5stack_sticks3
96+
- m5stack_tab5
8897
# - m5stack_timer_cam
8998
# - m5stack_tough
99+
# - m5stack_unit_c6l
90100
# - m5stack_unit_cam
91101
# - m5stack_unit_cams3
92102

93103
platform-version:
94-
- 2.1.2
104+
- 3.2.5
95105

96106
platform:
97107
- m5stack
@@ -103,10 +113,8 @@ jobs:
103113
steps:
104114
- name: Checkout
105115
uses: actions/checkout@v4
106-
with:
107-
ref: ${{ github.event.pull_request.head.sha }}
108116

109-
# Build
117+
# Build
110118
- name: Compile examples
111119
uses: ArminJo/arduino-test-compile@master
112120
with:
@@ -119,4 +127,3 @@ jobs:
119127
sketch-names: ${{ matrix.sketch }}.ino
120128
sketch-names-find-start: ${{ env.SKETCH_NAMES_FIND_START }}/${{ matrix.unit }}
121129
#sketches-exclude: ${{ matrix.sketches-exclude }}
122-

.github/workflows/clang-format-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
ref: ${{ github.event.pull_request.head.sha }}
6060

6161
- name: Run clang-format style check for C/C++/Protobuf programs.
62-
uses: jidicula/clang-format-action@v4.10.2 # Using include-regex 10.x or later
62+
uses: jidicula/clang-format-action@v4.16.0 # Using include-regex 10.x or later
6363
with:
6464
clang-format-version: '13'
6565
check-path: ${{ matrix.path['check'] }}

.github/workflows/doxygen-gh-pages.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ on: [release, workflow_dispatch]
33
#branches:
44
# - main
55
# - master
6+
permissions:
7+
contents: write
68
defaults:
79
run:
810
shell: bash

.github/workflows/platformio-build-check.yml

Lines changed: 9 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
- 'examples/UnitUnified/**.hpp'
1818
- 'examples/UnitUnified/**.h'
1919
- 'examples/UnitUnified/**.c'
20-
- '/platformio-build-check.yml'
20+
- '**/platformio-build-check.yml'
2121
- '**platformio.ini'
2222
pull_request:
2323
paths:
@@ -46,12 +46,12 @@ jobs:
4646
build:
4747
name: ${{ matrix.unit }}:${{ matrix.example }}@${{ matrix.board }}:${{ matrix.framework }}:${{ matrix.espressif32 }}
4848
runs-on: ubuntu-latest
49-
timeout-minutes: 5
49+
timeout-minutes: 12
5050

5151
strategy:
5252
fail-fast: false
53-
#max-parallel: 1
54-
53+
max-parallel: 20
54+
5555
matrix:
5656
example:
5757
- PlotToSerial
@@ -66,59 +66,28 @@ jobs:
6666
- Fire
6767
- StampS3
6868
- Dial
69-
- AtomMatrix
69+
- Atom
7070
- AtomS3
7171
- AtomS3R
7272
- NanoC6
7373
- StickCPlus
7474
- StickCPlus2
75+
- StickS3
7576
- Paper
7677
- CoreInk
78+
- Cardputer
79+
- Tab5
80+
- NessoN1
7781

7882
framework:
7983
- Arduino
8084

8185
espressif32:
8286
- latest
83-
# - '5_4_0'
84-
# - '4_4_0'
85-
86-
# exclude:
87-
# - board: CoreS3
88-
# espressif32: '5_4_0'
89-
# - board: CoreS3
90-
# espressif32: '4_4_0'
91-
# - board: StampS3
92-
# espressif32: '5_4_0'
93-
# - board: StampS3
94-
# espressif32: '4_4_0'
95-
# - board: AtomS3
96-
# espressif32: '5_4_0'
97-
# - board: AtomS3
98-
# espressif32: '4_4_0'
99-
# - board: Dial
100-
# espressif32: '5_4_0'
101-
# - board: Dial
102-
# espressif32: '4_4_0'
103-
# - board: NanoC6
104-
# espressif32: '5_4_0'
105-
# - board: NanoC6
106-
# espressif32: '4_4_0'
107-
# - board: StickCPlus
108-
# espressif32: '5_4_0'
109-
# - board: StickCPlus
110-
# espressif32: '4_4_0'
111-
# - board: Paper
112-
# espressif32: '5_4_0'
113-
# - board: Paper
114-
# espressif32: '4_4_0'
115-
11687

11788
steps:
11889
- name: Checkout
11990
uses: actions/checkout@v4
120-
with:
121-
ref: ${{ github.event.pull_request.head.sha }}
12291

12392
- name: Build examples
12493
uses: karniv00l/platformio-run-action@v1

0 commit comments

Comments
 (0)