Build OpenWrt using GitHub Actions
Read the details in p3terx's blog (in Chinese) | 中文教程
- Click the Use p3terx's template button to create a new repository.
- Generate
.configfiles using Lean's OpenWrt source code. ( You can change it through environment variables in the workflow file. ) - Push
.configfile to the GitHub repository, and the build starts automatically. Progress can be viewed on the Actions page. - When the build is complete, click the
Artifactsbutton in the upper right corner of the Actions page to download the binaries.
It may take a long time to create a .config file and build the OpenWrt firmware. Thus, before create repository to build your own firmware, you may check out if others have already built it which meet your needs by simply search Actions-Openwrt in GitHub.
Add some meta info of your built firmware (such as firmware architecture and installed packages) to your repository introduction, this will save others' time.
| 序号 | 设备平台 | 编译状态及下载链接 | 配置文件 | 详细清单 | 备注说明 |
|---|---|---|---|---|---|
| 1 | 不定期 | ||||
| 2 | 不定期 | ||||
| 3 | 不定期 | ||||
| 4 | 不定期 | ||||
| 5 | 停更 | ||||
| 6 | 停更 | ||||
| 7 | 停更 |
提示: 标志为正常,
或
不代表所有编译均失败。请点击
到 Actions 进一步查看。
- 小米路由器4A千兆版分为两种固件类型:(本仓库采用第一种,即 Breed 直刷版)
- Breed 直刷版,无需修改 Breed 环境变量,采用默认初始设置,需要修改 dtsi 分区文件
- 原版 dtsi,不需要修改源码,但是需要修改 Breed 环境变量,具体修改参考教程地址