Actions-OpenWrt
Build OpenWrt using GitHub Actions
Read the details in my blog (in Chinese) | 中文教程
本仓库的附加的说明:
本仓库用于实现云编译Lean's OpenWrt固件。
感谢P3TERX大大提供的github-action模板。
修改了.config
和feeds.conf.default
。
因此编译后的固件包含了一些常用的软件,如$$R,adguardhome,smartdns。由于暂时用不到多播,没有添加mwan3,负载均衡之类的软件。由于软件较多(部分存在功能重复),比较臃肿。建议根据实际情况,可以卸载一些用不到的软件。
此外,还包含较多的webUI主题。
许多软件和主题来自于kenzok8的存储库,感谢大佬。
注意:通过实测docker功能有可能影响固件的稳定性(死机)
部分功能:
1.$$上网(多途径)
2.IPv6支持
3.VMware tools
4.KMS服务
5.adguardhome
......
如何下载编译完的固件?
在release页面有很多不同类型的固件镜像下载地址,注意:cowtransfer和wetransfer
Usage
- Click the Use this template button to create a new repository.
- Generate
.config
files using Lean's OpenWrt source code. ( You can change it through environment variables in the workflow file. ) - Push
.config
file to the GitHub repository. - Select
Build OpenWrt
on the Actions page. - Click the
Run workflow
button. - When the build is complete, click the
Artifacts
button in the upper right corner of the Actions page to download the binaries.
Tips
- 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 searchActions-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.
Acknowledgments
- Microsoft Azure
- GitHub Actions
- OpenWrt
- Lean's OpenWrt
- tmate
- mxschmitt/action-tmate
- csexton/debugger-action
- Cowtransfer
- WeTransfer
- Mikubill/transfer
- softprops/action-gh-release
- ActionsRML/delete-workflow-runs
- dev-drprasad/delete-older-releases
- peter-evans/repository-dispatch
License
MIT © P3TERX