-
Notifications
You must be signed in to change notification settings - Fork 105
deepin: config: check-config.yml: make check for arm64 #644
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
deepin: config: check-config.yml: make check for arm64 #644
Conversation
Signed-off-by: Wentao Guan <[email protected]>
Reviewer's Guide by SourceryThis pull request introduces a new GitHub Actions workflow ( No diagrams generated as the changes look simple and do not need a visual representation. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
| - 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 |
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.
WARNING: Prefer a maximum 75 chars per line (possible unwrapped commit description?)
|
|
||
| - name: Compare defconfig files (ARM64) | ||
| run: | | ||
| if ! diff -u defconfig defconfig.orig; then |
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.
WARNING: Possible repeated word: 'defconfig'
deepin pr auto review代码审查意见如下:
综合以上意见,修改后的代码如下: name: Check ARM64 Defconfig Consistency
on:
push:
pull_request:
schedule:
- cron: '0 0 * * *'
jobs:
check-defconfig:
runs-on: ubuntu-24.04-arm
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install build dependencies
run: |
sudo -E apt-get update
sudo -E apt-get install -y bc build-essential zstd flex bison libssl-dev make libelf-dev git debhelper pahole libncurses-dev
- name: Backup original defconfig (ARM64)
run: |
cp -v arch/arm64/configs/deepin_arm64_desktop_defconfig defconfig.orig
- name: Generate new defconfig (ARM64)
run: |
source /etc/profile
make ARCH=arm64 deepin_arm64_desktop_defconfig
make ARCH=arm64 savedefconfig
- name: Compare defconfig files (ARM64)
run: |
if ! diff -u defconfig defconfig.orig; then
echo "::error:: deepin_arm64_desktop_defconfig 文件不一致,请执行 'make savedefconfig' 并提交更新"
exit 1
fi |
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.
Hey @opsiff - I've reviewed your changes - here's some feedback:
Overall Comments:
- Consider using a consistent naming scheme for your workflow files (e.g.,
check-config.ymlandcheck-config-arm64.yml). - The error message is in Chinese; consider providing an English translation for better accessibility.
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
|
/lgtm |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Avenger-285714 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
chore: Check Config Consistency CI for arm64
Summary by Sourcery
CI: