zephyr/scripts/schemas/build-schema.yml
Torsten Rasmussen 24ee391231 west: support build info file for west build
For pristine builds 'west build' will now create a build_info.yml file
containing the west build command including arguments.

This is done to help users and external tools to recreate builds.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-10-08 17:00:30 +02:00

108 lines
2.1 KiB
YAML

# SPDX-License-Identifier: Apache-2.0
#
# Copyright (c) 2024, Nordic Semiconductor ASA
# A pykwalify schema for basic validation of the Zephyr build info YAML file.
type: map
mapping:
version:
required: true
type: str
cmake:
type: map
mapping:
application:
type: map
mapping:
source-dir:
type: str
configuration-dir:
type: str
board:
type: map
mapping:
name:
required: true
type: str
qualifiers:
type: str
revision:
type: str
path:
type: seq
sequence:
- type: str
devicetree:
type: map
mapping:
files:
type: seq
sequence:
- type: str
user-files:
type: seq
sequence:
- type: str
extra-user-files:
type: seq
sequence:
- type: str
include-dirs:
type: seq
sequence:
- type: str
bindings-dirs:
type: seq
sequence:
- type: str
kconfig:
type: map
mapping:
files:
type: seq
sequence:
- type: str
user-files:
type: seq
sequence:
- type: str
extra-user-files:
type: seq
sequence:
- type: str
sysbuild:
type: bool
toolchain:
type: map
mapping:
name:
type: str
version:
type: str
path:
type: str
zephyr:
type: map
mapping:
zephyr-base:
type: str
version:
type: str
vendor-specific:
type: map
mapping:
regex;(.*):
type: map
mapping:
regex;(.*):
type: str
west:
type: map
mapping:
command:
type: str
topdir:
type: str
version:
type: str