mirror of
https://github.com/RubyMetric/chsrc
synced 2025-06-18 09:47:01 +08:00
parent
7c7408e4b8
commit
eb808c49a5
4
.github/workflows/pkg-deb.yml
vendored
4
.github/workflows/pkg-deb.yml
vendored
@ -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
|
||||
|
@ -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` - 用户安装指南
|
Loading…
x
Reference in New Issue
Block a user