Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1fbfb4a

Browse files
committed
apply suggestion from @per1234
1 parent a31e09d commit 1fbfb4a

File tree

1 file changed

+26
-11
lines changed

1 file changed

+26
-11
lines changed

‎.github/workflows/compile-examples.yml‎

Lines changed: 26 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,25 @@
11
name: Compile Examples
22

3-
on: [pull_request, push]
3+
on:
4+
pull_request:
5+
paths:
6+
- ".github/workflows/compile-examples.yml"
7+
- "cores/**"
8+
- "libraries/**"
9+
- "variants/**"
10+
- "boards.txt"
11+
- "platform.txt"
12+
push:
13+
paths:
14+
- ".github/workflows/compile-examples.yml"
15+
- "cores/**"
16+
- "libraries/**"
17+
- "variants/**"
18+
- "boards.txt"
19+
- "platform.txt"
420

521
jobs:
6-
compile-test:
22+
compile-examples:
723
runs-on: ubuntu-latest
824

925
env:
@@ -14,22 +30,21 @@ jobs:
1430
fail-fast: false
1531

1632
matrix:
17-
board: [
18-
{"fqbn": "arduino-beta:mbed:nano33ble"},
19-
{"fqbn": "arduino-beta:mbed:envie_m4"},
20-
{"fqbn": "arduino-beta:mbed:envie_m7"}
21-
]
33+
board:
34+
- fqbn: arduino-beta:mbed:nano33ble
35+
- fqbn: arduino-beta:mbed:envie_m4
36+
- fqbn: arduino-beta:mbed:envie_m7
2237

2338
# compile only the examples compatible with each board
2439
include:
2540
- board:
26-
fqbn: "arduino-beta:mbed:nano33ble"
41+
fqbn: arduino-beta:mbed:nano33ble
2742
additional-sketch-paths: '"libraries/PDM" "libraries/ThreadDebug"'
2843
- board:
29-
fqbn: "arduino-beta:mbed:envie_m4"
44+
fqbn: arduino-beta:mbed:envie_m4
3045
additional-sketch-paths: '"libraries/doom" "libraries/KernelDebug" "libraries/Portenta_SDCARD" "libraries/Portenta_System" "libraries/Portenta_Video" '
3146
- board:
32-
fqbn: "arduino-beta:mbed:envie_m7"
47+
fqbn: arduino-beta:mbed:envie_m7
3348
additional-sketch-paths: '"libraries/doom" "libraries/KernelDebug" "libraries/Portenta_Audio" "libraries/Portenta_SDCARD" "libraries/Portenta_System" "libraries/Portenta_Video" "libraries/ThreadDebug" "libraries/USBHOST"'
3449

3550
steps:
@@ -61,4 +76,4 @@ jobs:
6176
- source-path: "./"
6277
name: "arduino-beta:mbed"
6378
sketch-paths: "${{ env.UNIVERSAL_SKETCH_PATHS }} ${{ matrix.additional-sketch-paths }}"
64-
verbose: 'false'
79+
verbose: 'false'

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /