Skip to content

Commit 83d00d0

Browse files
committed
ci(kernel): 在构建后输出 nvidia.ko modinfo
方便在 CI 日志中确认内核模块版本、依赖和签名等元信息。
1 parent 3a4fd92 commit 83d00d0

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎.github/workflows/kernel_space.yml‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,13 @@ jobs:
134134
cd kernel
135135
make -j"$(nproc)"
136136
137+
- name: Show nvidia.ko modinfo
138+
run: |
139+
module_file="$(find ./kernel -name nvidia.ko -type f -print -quit)"
140+
test -n "$module_file"
141+
echo "module file: $module_file"
142+
modinfo "$module_file"
143+
137144
- name: Show ccache stats
138145
if: ${{ always() && inputs.enable_ccache }}
139146
run: |

0 commit comments

Comments
 (0)