Update to new global generator CubeMX concept #6
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build example | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: [main] | |
push: | |
branches: [main] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
# https://github.com/ARM-software/cmsis-actions | |
- name: Activate vcpkg | |
uses: ARM-software/cmsis-actions/vcpkg@v1 | |
with: | |
config: "./vcpkg-configuration.json" | |
# https://github.com/ARM-software/cmsis-actions | |
- name: Activate Arm tool license | |
uses: ARM-software/cmsis-actions/armlm@v1 | |
- name: Cache downloaded packs | |
uses: actions/cache@v4 | |
with: | |
key: cmsis-packs-download | |
path: /home/runner/.cache/arm/packs/.Download | |
# Initialize and update the index of CMSIS packs available online | |
- name: Initialize CMSIS pack root folder | |
run: | | |
cpackget init https://www.keil.com/pack/index.pidx | |
cpackget update-index | |
# Build the release and debug executable for the AC6 compiler | |
- name: Build release and debug executable | |
run: | | |
cbuild hello.csolution.yml --packs --context .+B-U585I-IOT02A --rebuild |