Skip to content
Commit f02b4f29 authored by Lingkai Dong's avatar Lingkai Dong
Browse files

templates: Introduce template framework for examples and tests



We want each example and test to work on all supported reference
platforms (currently Corstone-300) as well as RTOSes that are compatible
with any given example. Also, we would like each example to work like a
typical user project which targets one particular platforms and one
particular RTOS (or none, if the app runs on bare metal). This creates a
large matrix of examples x platforms x RTOSes (or baremetal).

To avoid having to maintain all possible combinations, we introduce a
mechanism for generating examples (similarly for tests). See updated
documentation for how to use this mechanism.

When the main branch is updated (i.e. an MR is merged), publish newly
generated examples to the repository that hosts full, ready-to-use
examples for users' convenience.

In CI runs, all flavors (RTOSes) of the same example are grouped into
the same pipeline to minimize the number of required runners, while
different platforms and toolchains are put into their own pipelines
as before because each of our Docker images contains only one toolchain
or FVP.

Signed-off-by: Lingkai Dong's avatarLingkai Dong <lingkai.dong@arm.com>
parent ab3f6fbd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment