mirror of
https://github.com/qingchencloud/clawpanel.git
synced 2026-07-08 22:12:52 +08:00
chore: 跨平台构建脚本 + CI/CD 改进 + 行尾规范
- 新增 .gitattributes 统一 LF 行尾,解决 Mac/Windows 协作 CRLF 问题 - 新增 build.ps1 Windows 本地构建脚本(支持 -Debug/-Clean 参数) - 新增 build.sh macOS/Linux 本地构建脚本 - 新增 .windsurf/workflows/release.md 发版操作工作流 - release.yml: 将 Release Notes 更新抽为独立 job,彻底解决多 matrix job 竞争条件 - release.yml: 补充代码签名环境变量注释占位,开源后可直接配 Secrets 启用 - ci.yml: 增加 cargo fmt --check 和 cargo clippy -D warnings 质量门禁 - .gitignore: 补充 Windows 平台特有文件、内部报告、IDE 文件 - docs/index.html: 修正 openclaw 仓库 URL - README.md: 修正 openclaw 仓库 URL
This commit is contained in:
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@@ -70,11 +70,21 @@ jobs:
|
||||
libgtk-3-dev \
|
||||
libayatana-appindicator3-dev
|
||||
|
||||
# Rust 格式检查
|
||||
- name: Rust 格式检查
|
||||
working-directory: src-tauri
|
||||
run: cargo fmt --all -- --check
|
||||
|
||||
# Rust 编译检查
|
||||
- name: Rust 编译检查
|
||||
working-directory: src-tauri
|
||||
run: cargo check
|
||||
|
||||
# Rust Lint(警告视为错误)
|
||||
- name: Rust Clippy
|
||||
working-directory: src-tauri
|
||||
run: cargo clippy --all-targets -- -D warnings
|
||||
|
||||
# 前端构建验证
|
||||
- name: 前端构建验证
|
||||
run: npm run build
|
||||
|
||||
Reference in New Issue
Block a user