Add deb package when building#23
Merged
zerx-lab merged 4 commits intozerx-lab:mainfrom May 5, 2026
Merged
Conversation
This commit addresses the failures in the GitHub Action workflow when attempting to build .deb packages for the 'oss' channel. Changes: 1. Update `script/linux/install_build_deps` to include `fakeroot`, which is required for `dpkg-deb -b`. 2. Modify `script/linux/bundle_deb` to conditionally skip repository configuration for the 'oss' channel. This prevents errors when trying to append upstream-specific repository templates that are not applicable or present for the open-source fork. Co-authored-by: BLumia <[email protected]>
Summary of changes: - Added `libdbus-1-dev` and `fakeroot` to `script/linux/install_build_deps`. `libdbus-1-dev` was missing, causing `libdbus-sys` to fail compilation in CI. `fakeroot` is needed for `.deb` packaging. - Modified `script/linux/bundle_deb` to conditionally skip repository configuration when building for the 'oss' channel, avoiding errors with missing or inapplicable upstream templates. - Updated `openwarp_release.yml` to trigger on pull requests and added a condition to skip the final release publishing step for PR builds. Co-authored-by: BLumia <[email protected]>
- Reverted changes in `script/linux/bundle_deb` and `script/linux/install_build_deps`. - Moved `libdbus-1-dev` and `fakeroot` installation directly to the `.github/workflows/openwarp_release.yml` workflow. - This addresses the review feedback by avoiding modifications to shared scripts while still fixing the CI build failures. Co-authored-by: BLumia <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
为现有 CI workflow 的 Linux 构建添加了 deb 打包构建。
Testing
请见:
注:
为了 agent 调试/查看CI日志方便,把工作流变成 PR 中也会触发了(PR 触发时会跳过
publish_release来避免创建 Release),以及因为是 AI 直接参与修复的,所以是多个 commit。若要保持提交历史整洁可以按需 squash,若不希望 PR 也触发 action 也可随意直接调整此 PR 的内容。