Move deb related doc and test file into pkg/DEB

[GitHub #207]
This commit is contained in:
Aoran Zeng 2025-06-15 11:26:33 +08:00
parent 7c7408e4b8
commit eb808c49a5
No known key found for this signature in database
GPG Key ID: 8F8BA8488E10ED98
4 changed files with 25 additions and 25 deletions

View File

@ -96,8 +96,8 @@ jobs:
sudo apt-get install -f -y || true
# Run basic tests
if [ -f "test/deb-test.sh" ]; then
sudo bash test/deb-test.sh
if [ -f "pkg/DEB/deb-test.sh" ]; then
sudo bash pkg/DEB/deb-test.sh
else
# Basic manual test
chsrc help

View File

@ -1,4 +1,4 @@
# DEB Package CI/CD
# DEB Package CI/CD 构建
本文档说明了 chsrc 项目的 DEB 包自动构建和发布流程。
@ -45,7 +45,7 @@ sudo dpkg -i ../chsrc_*.deb
sudo apt-get install -f # 修复依赖问题
# 运行测试
./test/deb-test.sh
bash ./pkg/DEB/deb-test.sh
# 卸载
sudo apt-get remove chsrc
@ -97,5 +97,5 @@ dpkg-deb --contents chsrc_*.deb
- `.github/workflows/pkg-deb.yml` - CI 工作流配置
- `debian/` - Debian 包配置目录
- `test/deb-test.sh` - DEB 包功能测试脚本
- `pkg/DEB-INSTALL.md` - 用户安装指南
- `pkg/DEB/deb-test.sh` - DEB 包功能测试脚本
- `pkg/DEB/INSTALL.md` - 用户安装指南