-
Notifications
You must be signed in to change notification settings - Fork 9
83 lines (75 loc) · 1.59 KB
/
Copy pathplatformio-build-check.yml
File metadata and controls
83 lines (75 loc) · 1.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
name: Build(platformio)
on:
push:
tags-ignore:
- '*.*.*'
- 'v*.*.*'
branches:
- '*'
paths:
- 'src/**.cpp'
- 'src/**.hpp'
- 'src/**.h'
- 'src/**.c'
- 'test/**.cpp'
- 'test/**.hpp'
- 'test/**.h'
- 'test/**.c'
- '.github/workflows/platformio-build-check.yml'
- 'platformio.ini'
pull_request:
paths:
- 'src/**.cpp'
- 'src/**.hpp'
- 'src/**.h'
- 'src/**.c'
- 'test/**.cpp'
- 'test/**.hpp'
- 'test/**.h'
- 'test/**.c'
- '.github/workflows/platformio-build-check.yml'
- 'platformio.ini'
workflow_dispatch:
defaults:
run:
shell: bash
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: ${{ matrix.board }}
runs-on: ubuntu-latest
timeout-minutes: 12
strategy:
fail-fast: false
max-parallel: 20
matrix:
board:
- Core
- Core2
- CoreS3
- Fire
- StampS3
- Dial
- Atom
- AtomS3
- AtomS3R
- NanoC6
- NessoN1
- StickCPlus
- StickCPlus2
- StickS3
- Cardputer
- Paper
- CoreInk
- Tab5
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build tests
uses: m5stack/M5Utility/.github/actions/pio_test_build@develop
with:
environments: test_readme_${{ matrix.board }}
project-dir: "./"
project-conf: "./platformio.ini"