Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/check-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Check defconfig Consistency

on:
push:
pull_request:

jobs:
check-defconfig:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install build dependencies
run: |
sudo apt-get update
sudo apt-get install -y bc build-essential zstd flex bison libssl-dev make libelf-dev git debhelper pahole libncurses-dev

- name: Backup original defconfig
run: |
cp arch/x86/configs/deepin_x86_desktop_defconfig defconfig.orig

- name: Generate new defconfig
run: |
make ARCH=x86 deepin_x86_desktop_defconfig
make ARCH=x86 savedefconfig

- name: Compare defconfig files
run: |
if ! diff -u defconfig defconfig.orig; then
echo "::error:: deepin_x86_desktop_defconfig 文件不一致,请执行 'make savedefconfig' 并提交更新"
exit 1
fi
1 change: 1 addition & 0 deletions arch/loongarch/configs/deepin_loongarch_desktop_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2289,6 +2289,7 @@ CONFIG_SPI_TLE62X0=m
CONFIG_SPI_SLAVE=y
CONFIG_SPI_SLAVE_TIME=m
CONFIG_SPI_SLAVE_SYSTEM_CONTROL=m
CONFIG_SPMI=m
CONFIG_HSI=m
CONFIG_HSI_CHAR=m
CONFIG_PPS_CLIENT_KTIMER=m
Expand Down
1 change: 1 addition & 0 deletions arch/x86/configs/deepin_x86_desktop_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2179,6 +2179,7 @@ CONFIG_SPI_TLE62X0=m
CONFIG_SPI_SLAVE=y
CONFIG_SPI_SLAVE_TIME=m
CONFIG_SPI_SLAVE_SYSTEM_CONTROL=m
CONFIG_SPMI=m
CONFIG_HSI=m
CONFIG_HSI_CHAR=m
CONFIG_PPS_CLIENT_LDISC=m
Expand Down
Loading