Skip to content

Add HW Level Build to CI/CD #13

Add HW Level Build to CI/CD

Add HW Level Build to CI/CD #13

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:15.1
options: --privileged
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Setup permissions
run: chmod -R +x .
- name: Install cmake
run: |
apt-get update
apt-get install -y cmake
- name: Build project using headless STM32CubeIDE
run: |
bash ./zeropilot3.5/hwbuild.bash
/opt/st/stm32cubeide_1.18.1/stm32cubeide \
--launcher.suppressErrors -nosplash \
-application org.eclipse.cdt.managedbuilder.core.headlessbuild \
-build stm32l552xx \
-importAll ./ \
-data /local/temp