-
Notifications
You must be signed in to change notification settings - Fork 116
[WIP] [Deepin-Kernel-SIG] [linux 6.6-y] [RFC] deepin: extra ci: add i386_defconfig #1623
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: linux-6.6.y
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,6 +26,18 @@ jobs: | |
| git config --global user.email $email | ||
| git config --global user.name $KBUILD_BUILD_USER | ||
|
|
||
| - name: "Compile kernel i386_defconfig" | ||
| run: | | ||
| # .config | ||
| make i386_defconfig | ||
| make -j$(nproc) | ||
|
|
||
| - name: "Clang build kernel i386_defconfig" | ||
| run: | | ||
| # .config | ||
| make LLVM=-18 i386_defconfig | ||
| make LLVM=-18 -j$(nproc) | ||
|
Comment on lines
+38
to
+39
|
||
|
|
||
| - name: "Compile kernel x86_64_defconfig" | ||
| run: | | ||
| # .config | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This builds i386 and then later x86_64 (and other ARCH values) in the same source/output tree. Kbuild is not reliable when reusing the same output directory across different defconfigs/bitness/architectures; stale objects can lead to flaky failures or false passes. Use per-config out-of-tree build dirs (e.g., via
O=/KBUILD_OUTPUT) or run a clean step (e.g.,make mrproper) between architecture/bitness switches.