mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-21 14:35:23 +00:00
Some boards depend on environment variables so we want to make sure we do not attempt to build boards requiring additional setup. Add the section below into the board YAML file, sanitycheck will check the environment and will only run tests on that board if the variables are defined. env: - VAR1 - VAR2 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
57 lines
1020 B
YAML
57 lines
1020 B
YAML
#
|
|
# Schema to validate a YAML file describing a Zephyr test platform
|
|
#
|
|
# We load this with pykwalify
|
|
# (http://pykwalify.readthedocs.io/en/unstable/validation-rules.html),
|
|
# a YAML structure validator, to validate the YAML files that describe
|
|
# Zephyr test platforms
|
|
#
|
|
# The original spec comes from Zephyr's sanitycheck script
|
|
#
|
|
|
|
type: map
|
|
mapping:
|
|
"identifier":
|
|
type: str
|
|
"name":
|
|
type: str
|
|
"type":
|
|
type: str
|
|
enum: [ 'mcu', 'qemu', 'sim', 'unit', 'native']
|
|
"simulation":
|
|
type: str
|
|
enum: [ 'qemu', 'simics', 'xt-sim', 'renode', 'nsim']
|
|
"arch":
|
|
type: str
|
|
"toolchain":
|
|
type: seq
|
|
seq:
|
|
-
|
|
type: str
|
|
"env":
|
|
type: seq
|
|
seq:
|
|
-
|
|
type: str
|
|
"ram":
|
|
type: int
|
|
"flash":
|
|
type: int
|
|
"sanitycheck":
|
|
type: bool
|
|
"supported":
|
|
type: seq
|
|
seq:
|
|
-
|
|
type: str
|
|
"testing":
|
|
type: map
|
|
mapping:
|
|
"default":
|
|
type: bool
|
|
"ignore_tags":
|
|
type: seq
|
|
seq:
|
|
-
|
|
type: str
|