-
Notifications
You must be signed in to change notification settings - Fork 184
Expand file tree
/
Copy pathkadeflow.yaml
More file actions
70 lines (60 loc) · 1.82 KB
/
kadeflow.yaml
File metadata and controls
70 lines (60 loc) · 1.82 KB
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
project:
name: "ci-kade" # lyenv project name
plugin: "kade" # plugin name
# kade base config (overrides merged into kade plugin config.yaml)
kade:
config_overrides:
kernel:
flavor: "gki" # gki | non_gki
gki:
android_version: 14
kernel_version: "6.1"
target_arch: "aarch64"
driver:
project_name: "file_copy"
in_tree: false
external_src_dir: "${GITHUB_WORKSPACE}/code"
module_name: "file_copy.ko"
overwrite: true
# optional: Bazel args for >13
build:
bazel:
args: ["--config=fast"]
non_gki:
source:
type: "zip" # repo | local | zip
zip_path: "${GITHUB_WORKSPACE}/kernel.zip"
zip_strip_root: true
build:
mode: "script"
script: "build.sh"
args: []
artifacts_dir: "out"
# ABI control (optional but supported)
abi:
upstream_patch: true # always recommended for CI
# one of the following (optional):
symbols_file: "${GITHUB_WORKSPACE}/abi.symbols"
# or inline list:
# symbols:
# - register_kprobe
# - unregister_kprobe
sort: false
replace: false
# Default CI flow: build + export (minimal, as you requested)
flow:
steps:
- "kade prepare"
- "kade deps"
- "kade sync"
- "kade abi_upstream"
# abi step is injected automatically by runner if abi.symbols_file or abi.symbols provided
- "kade build"
- "kade export"
post_commands: [] # users can add extra commands here, e.g. compile_commands/img unpack
artifacts:
name: "kade-artifacts"
paths:
- "${LYENV_HOME}/workspace/exports/**"
- "${LYENV_HOME}/workspace/**/compile_commands.json"
- "${GITHUB_WORKSPACE}/img_out/**" # if user adds img unpack to post_commands