Skip to content

Commit 49e35e9

Browse files
committed
Add files
1 parent 5658656 commit 49e35e9

31 files changed

Lines changed: 6002 additions & 6 deletions

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ body:
7676
label: Issue checklist
7777
description: Please double-check that you have done each of the following things before submitting the issue.
7878
options:
79-
- label: I searched for previous reports in [the issue tracker](https://github.com/m5stack/M5Stack/issues?q=)
79+
- label: I searched for previous reports in [the issue tracker](https://github.com/m5stack/M5Unit-FINGER/issues?q=)
8080
required: true
8181
- label: My report contains all necessary details
8282
required: true
Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
name: Build(arduino-esp32:2.x)
2+
3+
env:
4+
SKETCH_NAMES_FIND_START: ./examples/UnitUnified
5+
REQUIRED_LIBRARIES: M5Unified,M5UnitUnified
6+
7+
on:
8+
push:
9+
tags-ignore:
10+
- '*.*.*'
11+
- 'v*.*.*'
12+
branches:
13+
- '*'
14+
paths:
15+
- 'src/unit/**.cpp'
16+
- 'src/unit/**.hpp'
17+
- 'src/unit/**.h'
18+
- 'src/unit/**.c'
19+
- 'examples/UnitUnified/**.ino'
20+
- 'examples/UnitUnified/**.cpp'
21+
- 'examples/UnitUnified/**.hpp'
22+
- 'examples/UnitUnified/**.h'
23+
- 'examples/UnitUnified/**.c'
24+
- '**arduino-esp-v2-build-check.yml'
25+
pull_request:
26+
paths:
27+
- 'src/unit/**.cpp'
28+
- 'src/unit/**.hpp'
29+
- 'src/unit/**.h'
30+
- 'src/unit/**.c'
31+
- 'examples/UnitUnified/**.ino'
32+
- 'examples/UnitUnified/**.cpp'
33+
- 'examples/UnitUnified/**.hpp'
34+
- 'examples/UnitUnified/**.h'
35+
- 'examples/UnitUnified/**.c'
36+
- '**arduino-esp-v2-build-check.yml'
37+
workflow_dispatch:
38+
39+
defaults:
40+
run:
41+
shell: bash
42+
43+
concurrency:
44+
group: ${{ github.workflow }}-${{ github.ref }}
45+
cancel-in-progress: true
46+
47+
jobs:
48+
build:
49+
name: ${{ matrix.sketch }}:${{matrix.board}}@${{matrix.platform-version}}
50+
runs-on: ubuntu-latest
51+
timeout-minutes: 5
52+
53+
strategy:
54+
fail-fast: false
55+
max-parallel: 20
56+
matrix:
57+
platform-url:
58+
- https://espressif.github.io/arduino-esp32/package_esp32_index.json
59+
60+
sketch:
61+
- PlotToSerial
62+
63+
unit:
64+
- UnitFinger
65+
66+
board:
67+
- m5stack-atom
68+
- m5stack-atoms3
69+
- m5stack-core-esp32
70+
- m5stack-core2
71+
- m5stack-coreink
72+
- m5stack-cores3
73+
- m5stack-fire
74+
75+
platform-version:
76+
- 2.0.17
77+
78+
platform:
79+
- esp32
80+
81+
archi:
82+
- esp32
83+
84+
include:
85+
# Specific sketches
86+
- sketch: Capture
87+
platform-url: https://espressif.github.io/arduino-esp32/package_esp32_index.json
88+
platform: esp32
89+
archi: esp32
90+
platform-version: 2.0.17
91+
board: m5stack-core-esp32
92+
- sketch: Characteristic
93+
platform-url: https://espressif.github.io/arduino-esp32/package_esp32_index.json
94+
platform: esp32
95+
archi: esp32
96+
platform-version: 2.0.17
97+
board: m5stack-core-esp32
98+
- sketch: User
99+
platform-url: https://espressif.github.io/arduino-esp32/package_esp32_index.json
100+
platform: esp32
101+
archi: esp32
102+
platform-version: 2.0.17
103+
board: m5stack-core-esp32
104+
105+
steps:
106+
- name: Checkout
107+
uses: actions/checkout@v4
108+
with:
109+
ref: ${{ github.event.pull_request.head.sha }}
110+
111+
# Build
112+
- name: Compile examples
113+
uses: ArminJo/arduino-test-compile@master
114+
with:
115+
arduino-board-fqbn: ${{ matrix.platform }}:${{ matrix.archi }}:${{ matrix.board }}
116+
arduino-platform: ${{ matrix.platform }}:${{ matrix.archi }}@${{ matrix.platform-version }}
117+
platform-url: ${{ matrix.platform-url }}
118+
required-libraries: ${{ env.REQUIRED_LIBRARIES }}
119+
extra-arduino-cli-args: ${{ matrix.cli-args }}
120+
#build-properties: ${{ matrix.build-properties }}
121+
sketch-names: ${{ matrix.sketch }}.ino
122+
sketch-names-find-start: ${{ env.SKETCH_NAMES_FIND_START }}/${{ matrix.unit }}
123+
#sketches-exclude: ${{ matrix.sketches-exclude }}
Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
1+
name: Build(arduino-esp32:3.x)
2+
3+
env:
4+
SKETCH_NAMES_FIND_START: ./examples/UnitUnified
5+
REQUIRED_LIBRARIES: M5Unified,M5UnitUnified
6+
7+
on:
8+
push:
9+
tags-ignore:
10+
- '*.*.*'
11+
- 'v*.*.*'
12+
branches:
13+
- '*'
14+
paths:
15+
- 'src/unit/**.cpp'
16+
- 'src/unit/**.hpp'
17+
- 'src/unit/**.h'
18+
- 'src/unit/**.c'
19+
- 'examples/UnitUnified/**.ino'
20+
- 'examples/UnitUnified/**.cpp'
21+
- 'examples/UnitUnified/**.hpp'
22+
- 'examples/UnitUnified/**.h'
23+
- 'examples/UnitUnified/**.c'
24+
- '**arduino-esp-v3-build-check.yml'
25+
pull_request:
26+
paths:
27+
- 'src/unit/**.cpp'
28+
- 'src/unit/**.hpp'
29+
- 'src/unit/**.h'
30+
- 'src/unit/**.c'
31+
- 'examples/UnitUnified/**.ino'
32+
- 'examples/UnitUnified/**.cpp'
33+
- 'examples/UnitUnified/**.hpp'
34+
- 'examples/UnitUnified/**.h'
35+
- 'examples/UnitUnified/**.c'
36+
- '**arduino-esp-v3-build-check.yml'
37+
workflow_dispatch:
38+
39+
defaults:
40+
run:
41+
shell: bash
42+
43+
concurrency:
44+
group: ${{ github.workflow }}-${{ github.ref }}
45+
cancel-in-progress: true
46+
47+
jobs:
48+
build:
49+
name: ${{ matrix.sketch }}:${{matrix.board}}@${{matrix.platform-version}}
50+
runs-on: ubuntu-latest
51+
timeout-minutes: 5
52+
53+
strategy:
54+
fail-fast: false
55+
max-parallel: 20
56+
matrix:
57+
platform-url:
58+
- https://espressif.github.io/arduino-esp32/package_esp32_index.json
59+
60+
sketch:
61+
- PlotToSerial
62+
63+
unit:
64+
- UnitFinger
65+
66+
board:
67+
- m5stack_atom
68+
- m5stack_atoms3
69+
- m5stack_capsule
70+
# - m5stack_cardputer
71+
- m5stack_core
72+
- m5stack_core2
73+
- m5stack_coreink
74+
- m5stack_cores3
75+
- m5stack_dial
76+
- m5stack_fire
77+
- m5stack_nanoc6
78+
- m5stack_paper
79+
# - m5stack_poe_cam
80+
# - m5stack_stamp_c3
81+
# - m5stack_stamp_pico
82+
- m5stack_stamp_s3
83+
# - m5stack_station
84+
# - m5stack_stickc
85+
- m5stack_stickc_plus
86+
- m5stack_stickc_plus2
87+
# - m5stack_timer_cam
88+
# - m5stack_tough
89+
# - m5stack_unit_cam
90+
# - m5stack_unit_cams3
91+
92+
platform-version:
93+
- 3.1.3
94+
95+
platform:
96+
- esp32
97+
98+
archi:
99+
- esp32
100+
101+
include:
102+
# Specific sketches
103+
- sketch: Capture
104+
platform-url: https://espressif.github.io/arduino-esp32/package_esp32_index.json
105+
platform: esp32
106+
archi: esp32
107+
platform-version: 3.1.3
108+
board: m5stack_core
109+
- sketch: Characteristic
110+
platform-url: https://espressif.github.io/arduino-esp32/package_esp32_index.json
111+
platform: esp32
112+
archi: esp32
113+
platform-version: 3.1.3
114+
board: m5stack_core
115+
- sketch: User
116+
platform-url: https://espressif.github.io/arduino-esp32/package_esp32_index.json
117+
platform: esp32
118+
archi: esp32
119+
platform-version: 3.1.3
120+
board: m5stack_core
121+
122+
123+
steps:
124+
- name: Checkout
125+
uses: actions/checkout@v4
126+
with:
127+
ref: ${{ github.event.pull_request.head.sha }}
128+
129+
# Build
130+
- name: Compile examples
131+
uses: ArminJo/arduino-test-compile@master
132+
with:
133+
arduino-board-fqbn: ${{ matrix.platform }}:${{ matrix.archi }}:${{ matrix.board }}
134+
arduino-platform: ${{ matrix.platform }}:${{ matrix.archi }}@${{ matrix.platform-version }}
135+
platform-url: ${{ matrix.platform-url }}
136+
required-libraries: ${{ env.REQUIRED_LIBRARIES }}
137+
extra-arduino-cli-args: ${{ matrix.cli-args }}
138+
#build-properties: ${{ matrix.build-properties }}
139+
sketch-names: ${{ matrix.sketch }}.ino
140+
sketch-names-find-start: ${{ env.SKETCH_NAMES_FIND_START }}/${{ matrix.unit }}
141+
#sketches-exclude: ${{ matrix.sketches-exclude }}

0 commit comments

Comments
 (0)