-
Notifications
You must be signed in to change notification settings - Fork 152
53 lines (50 loc) · 1.64 KB
/
build_platformIO.yml
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
name: PlatformIO build
on:
pull_request:
branches: [master, v1.x]
paths:
- ".github/workflows/build_platformIO.yml"
- "library.json"
- "examples/**"
- "!examples/old_backups/**"
- "!examples/rf24_ATTiny/**"
push:
branches: [master, v1.x]
paths:
- ".github/workflows/build_platformIO.yml"
- "library.json"
- "examples/**"
- "!examples/old_backups/**"
- "!examples/rf24_ATTiny/**"
release:
types: [published, edited]
jobs:
validate_lib_json:
uses: nRF24/.github/.github/workflows/validate_deploy_platformio.yaml@main
secrets: inherit
with:
deploy-release: ${{ github.event_name == 'release' }}
build:
needs: [validate_lib_json]
uses: nRF24/.github/.github/workflows/build_platformio.yaml@main
with:
example-path: ${{ matrix.example }}
board-id: ${{ matrix.board }}
strategy:
fail-fast: false
matrix:
example:
- "examples/RF24Mesh_Example/RF24Mesh_Example.ino"
- "examples/RF24Mesh_Example_Master_Statics/RF24Mesh_Example_Master_Statics.ino"
- "examples/RF24Mesh_Example_Master_To_Nodes/RF24Mesh_Example_Master_To_Nodes.ino"
- "examples/RF24Mesh_Example_Node2Node/RF24Mesh_Example_Node2Node.ino"
- "examples/RF24Mesh_Example_Node2NodeExtra/RF24Mesh_Example_Node2NodeExtra.ino"
- "examples/RF24Mesh_SerialConfig/RF24Mesh_SerialConfig.ino"
- "examples/RF24Mesh_Example_Master/RF24Mesh_Example_Master.ino"
board:
- "teensy31"
- "teensy35"
- "teensy36"
- "teensy40"
- "teensy41"
- "teensylc"