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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy