Building OpenWrt with GitHub Actions: A CI/CD Workflow / 使用 GitHub Actions 云编译 OpenWrt
☁️ Cloud Compile / 云端编译
Why burn your own CPU for hours to build OpenWrt firmware?
为什要烧自己的 CPU 跑几个小时来编译 OpenWrt 固件?
Github_Actions_OpenWrt is my customized workflow based on P3TERX’s famous template. It allows you to build custom OpenWrt images for your router directly on GitHub’s free runners.
Github_Actions_OpenWrt 是我基于 P3TERX 著名模板定制的工作流。它允许你利用 GitHub 的免费 Runner 直接为你的路由器编译定制的 OpenWrt 镜像。
🚀 Enhancements / 增强功能
Compared to the base template, my fork includes:
相比基础模板,我的分支包含:
- Pre-configured Packages: Includes popular packages like
luci-app-passwall,openclash, and optimized kernels.
预配置插件:包含常用的像passwall,openclash等插件及优化内核。 - Size Optimization: Strips unnecessary modules to fit into smaller flash chips.
- Auto Release: Automatically tags and publishes the firmware to Releases upon success.
🛠️ How to Use / 如何使用
- Fork the repo.
- Edit
.config: Upload your.configgenerated from a localmake menuconfig(or use the one provided). - Click Star: Or manually trigger the workflow in the Actions tab.
- Download: Wait ~2 hours, then grab your firmware from the Releases page.
Build your own router OS, free and fast.
构建你自己的路由器系统,免费且快速。
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 HExLL-迷雾日志!