-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
123 lines (103 loc) · 3.22 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
name: 'Zephyr West Actions'
description: 'Perform West actions to initialize/update/build a zephyr out-of-tree module'
inputs:
manifestdir:
description: >
Directory where out-of-tree zephyr module containing a West manifest has
been checked out.
required: True
init:
description: >
When set to true, initialiaze West Workplace, based on manifestdir
specified in user's workflow.
required: false
default: false
update:
description: 'When set to true, update repository based on manifest'
required: false
default: false
update_extra_args:
description: 'When defined, must contains space separated list of modules to update'
requried: false
twister:
description: >
When set to true, runs twister test suite on directory specified in
twister_app_dir with board defined in twister_board.
required: false
default: false
twister_app_dir:
description: >
Mandatory when twister is set to true.
This variable must contains a path to the application that will be built
by twister.
required: false
twister_board:
description: >
Mandatory when twister is set to true.
This variable must contains the name of the board that twister will compile for.
required: false
twister_board_root:
description: >
Directory to search for board configuration files and passed to twister
option --board-root.
required: false
twister_build_dir:
description: >
Output directory for twister.
required: false
twister_extra_args:
description: >
Extra arguments directly passed to twister
reuiqred: false
build:
description: >
When set to true, runs west build on directory specified in build_app_dir
with board defined in build_board.
required: false
default: false
build_board:
description: >
Mandatory when build is set to true.
This variable must contains the name of the board that west will compile for.
required: false
build_app_dir:
description: >
Mandatory when build is set to true.
This variable must contains a path to the application that will be built
by west.
required: false
build_dir:
description: >
Directory where built files are placed.
required: false
cmake_extra_args:
description: >
arguments passed directly to cmake by west command.
required: false
sign:
description: >
When set to true, sign the apps provided in the signing manifest.
required: false
default: false
sign_manifest:
description: >
Mandatory when sign is set to true.
Path to file containing the applications to sign and their respective version.
On each line of the file there should be first the application directory
and the version separated by a ';'
required: false
sign_key:
description: >
Path to signing key.
required: false
default: bootloader/mcuboot/root-rsa-2048.pem
sign_alignment:
description: >
Flash alignement in bytes.
required: false
default: 32
runs:
using: 'docker'
image: 'docker://ghcr.io/siemaapplications/zephyr-action:v3.1.0'
entrypoint: '/entrypoint.sh'
post-entrypoint: '/cleanup.sh'