Skip to content

Commit 44880e2

Browse files
committed
chore(ci): add build-for-stm32 step
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent a633b95 commit 44880e2

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/compile-examples.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,28 @@ on:
1818
workflow_dispatch:
1919

2020
jobs:
21+
build-for-stm32:
22+
runs-on: ubuntu-latest
23+
24+
strategy:
25+
matrix:
26+
fqbn:
27+
- STMicroelectronics:stm32:Eval:pnum=STEVAL_MKSBOX1V1,usb=CDCgen
28+
- STMicroelectronics:stm32:Nucleo_64:pnum=NUCLEO_L476RG
29+
- STMicroelectronics:stm32:Disco:pnum=B_L475E_IOT01A
30+
31+
steps:
32+
- uses: actions/checkout@v4
33+
- uses: arduino/compile-sketches@v1
34+
with:
35+
github-token: ${{ secrets.GITHUB_TOKEN }}
36+
fqbn: ${{ matrix.fqbn }}
37+
platforms: |
38+
- name: STMicroelectronics:stm32
39+
source-url: https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json
40+
sketch-paths: |
41+
- examples
42+
cli-compile-flags: |
43+
- --build-property
44+
- build.extra_flags=-DIDB05A2_SPI_CLOCK_D3
45+

0 commit comments

Comments
 (0)