Skip to content

Commit 5c49886

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

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
@@ -15,3 +15,28 @@ on:
1515
workflow_dispatch:
1616

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

0 commit comments

Comments
 (0)