Skip to content
Merged
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-arm64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Check defconfig Consistency ARM64

on:
push:
pull_request:

jobs:
check-defconfig:
runs-on: ubuntu-24.04-arm

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
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WARNING: Prefer a maximum 75 chars per line (possible unwrapped commit description?)


- name: Backup original defconfig (ARM64)
run: |
cp arch/arm64/configs/deepin_arm64_desktop_defconfig defconfig.orig

- name: Generate new defconfig (ARM64)
run: |
make ARCH=arm64 deepin_arm64_desktop_defconfig
make ARCH=arm64 savedefconfig

- name: Compare defconfig files (ARM64)
run: |
if ! diff -u defconfig defconfig.orig; then
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WARNING: Possible repeated word: 'defconfig'

echo "::error:: deepin_arm64_desktop_defconfig 文件不一致,请执行 'make savedefconfig' 并提交更新"
exit 1
fi
Loading