Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Build

on:
push:
branches:
- main
pull_request:
workflow_dispatch:

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
name: ${{ matrix.context }}
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
context:
- TraceDemo.Debug+MCBSTM32F400
- TraceDemo.Debug+NUCLEO-F401RE
- TraceDemo.Debug+NUCLEO-F446RE
- TraceDemo.Debug+NUCLEO-F756ZG
- TraceDemo.Debug+NUCLEO-L552ZE-Q
- TraceDemo.Debug+STM32F4-DISCO
- TraceDemo.Debug+STM32F429I-DISCO
- TraceDemo.Debug+STM32H7B3I-DK

steps:
- name: Checkout
uses: actions/checkout@v7

# vcpkg removed the artifact feature after July 1, 2026.
- name: Install vcpkg
uses: ARM-software/cmsis-actions/setup-vcpkg@v1
with:
version: 2026.04.27

- name: Activate build environment
uses: ARM-software/cmsis-actions/vcpkg@v1
with:
config: ./vcpkg-configuration.json
cache: "-tools"

- name: Build
run: >-
cbuild Trace.csolution.yml
--context '${{ matrix.context }}'
--packs
--frozen-packs
--update-rte
6 changes: 3 additions & 3 deletions docs/BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
## Environment and dependencies

Use CMSIS-Toolbox 2.15.0, GNU Arm Toolchain 14.3.1, CMake 3.31.5 and Ninja 1.13.2.
The CMSIS Solution extension supplies the toolbox; Arm Environment Manager reads
the compiler, CMake and Ninja versions from
[`vcpkg-configuration.json`](../vcpkg-configuration.json).
Arm Environment Manager and CI install these versions from
[`vcpkg-configuration.json`](../vcpkg-configuration.json); the CMSIS Solution
extension can also supply the toolbox for local builds.

For a manual installation, put those tools on `PATH`, set `CMSIS_COMPILER_ROOT`
to the toolbox's `etc` directory and `GCC_TOOLCHAIN_14_3_1` to the compiler's `bin`
Expand Down
3 changes: 2 additions & 1 deletion vcpkg-configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
{
"kind": "artifact",
"name": "arm",
"location": "https://artifacts.keil.arm.com/vcpkg-ce-registry/registry.zip"
"location": "https://artifacts.tools.arm.com/vcpkg-registry"
}
],
"requires": {
"arm:tools/open-cmsis-pack/cmsis-toolbox": "2.15.0",
"arm:compilers/arm/arm-none-eabi-gcc": "14.3.1",
"arm:tools/kitware/cmake": "3.31.5",
"arm:tools/ninja-build/ninja": "1.13.2"
Expand Down