Skip to content

Add HW Level Build to CI/CD #1

Add HW Level Build to CI/CD

Add HW Level Build to CI/CD #1

name: STM32CubeIDE Build
on:
push:
branches: [ "main" ]
pull_request:
type: [opened, synchronize, reopened]
jobs:
stm32cubeide_build:
name: Headless STM32CubeIDE Build
runs-on: ubuntu-latest
container:
image: xanderhendriks/stm32cubeide:latest
options: --privileged
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Setup permissions
run: chmod -R +x .
- name: Build project using headless STM32CubeIDE
run: |
/opt/stm32cubeide/stm32cubeide \
--launcher.suppressErrors -nosplash \
-application org.eclipse.cdt.managedbuilder.core.headlessbuild \
-importAll . \
-build all \
-data /tmp/stm32_workspace