大麦
|
7af1c37577
|
ci: 使用 xwin 代替 MinGW
Build Windows / Build Windows (push) Failing after 18m42s
问题:
- apt-get 安装 MinGW 依赖失败
- x86_64-w64-mingw32-posix-runtime 包不存在
解决方案:
- 使用 xwin 下载预编译的 MinGW CRT
- 使用 Cargo 安装 xwin 工具链
- 专门针对 Windows MSVC 编译
优势:
- 无需系统安装 MinGW
- 预编译的 CRT 更稳定
- Rust 标准的交叉编译方式
|
2026-03-10 18:23:17 +08:00 |
|
大麦
|
f8cd6b1d17
|
ci: 修复 MinGW 包名错误
Build Windows / Build Windows (push) Failing after 15m35s
- 使用正确的 Debian 包名:gcc-mingw-w64-x86-64
- 移除不存在的 x86_64-w64-mingw32-posix-runtime 包
|
2026-03-10 18:03:23 +08:00 |
|
大麦
|
df48965e02
|
ci: 修复 Runner 无 sudo 问题
Build Windows / Build Windows (push) Failing after 1m11s
- 移除所有 sudo 命令(容器以 root 运行)
- apt-get 不需要 sudo
|
2026-03-10 17:55:49 +08:00 |
|
大麦
|
cd19407f29
|
ci: 完全不依赖 GitHub 的 workflow
Build Windows / Build Windows (push) Failing after 5m35s
- 使用 git clone 代替 actions/checkout
- 所有操作使用基础命令
- 不依赖任何 GitHub Actions
适用场景:
- Gitea Actions 无法访问 GitHub
- 完全离线环境
- 安全要求高的环境
|
2026-03-10 17:04:09 +08:00 |
|
大麦
|
e321271734
|
ci: 修复 Gitea Actions - 移除 GitHub 专用 action
Build Windows / Build Windows (push) Failing after 41s
问题:dtolnay/rust-action 需要 GitHub 认证
解决:使用基础命令安装 Rust
修复内容:
- 使用 rustup 官方脚本安装 Rust
- 使用 apt 安装 MinGW 和 GTK 依赖
- 使用 Gitea API 直接上传 Release
|
2026-03-10 16:57:28 +08:00 |
|
大麦
|
0dd7c30b62
|
ci: 简化 Gitea Actions workflow
Build Release / Build Windows (push) Failing after 6m22s
- 使用更兼容的语法
- 简化编译步骤
- 直接使用 Gitea API 上传 Release 而不是 GitHub Actions
|
2026-03-10 16:52:25 +08:00 |
|